Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00097/0.0009702, allocations: 174.6 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205 MB / 221.9 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009415/0.0009417, allocations: 93.19 kB / 269.9 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06227/0.06227, allocations: 12.56 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 16 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07533/0.07567, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001258/0.07696, allocations: 1.238 MB / 442.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000275/0.07725, allocations: 147.5 kB / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.07733, allocations: 3.938 kB / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.059e-05/0.07743, allocations: 0 / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.07751, allocations: 11.92 kB / 442.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.0777, allocations: 31.91 kB / 442.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.07777, allocations: 43.86 kB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.07787, allocations: 19.98 kB / 442.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.0779, allocations: 7.938 kB / 442.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.07795, allocations: 27.78 kB / 442.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.07796, allocations: 0 / 442.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.07798, allocations: 4 kB / 442.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.07802, allocations: 4 kB / 442.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.07806, allocations: 31.73 kB / 442.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.586e-05/0.07813, allocations: 43.81 kB / 442.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.07814, allocations: 4 kB / 442.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.07814, allocations: 4 kB / 442.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.07815, allocations: 3.938 kB / 442.8 MB, free: 14.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000315/0.07847, allocations: 379.4 kB / 443.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.07851, allocations: 8.031 kB / 443.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.07854, allocations: 34.75 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.07857, allocations: 8.844 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.07869, allocations: 200.1 kB / 443.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.0787, allocations: 4.375 kB / 443.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.07872, allocations: 8.359 kB / 443.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.07894, allocations: 122.4 kB / 443.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.07896, allocations: 11.88 kB / 443.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.07897, allocations: 4 kB / 443.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.07899, allocations: 7.984 kB / 443.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.07911, allocations: 39.97 kB / 443.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.0794, allocations: 381.8 kB / 443.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/0.07951, allocations: 83.78 kB / 444 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.07958, allocations: 42.61 kB / 444.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.07959, allocations: 0 / 444.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.07961, allocations: 38.56 kB / 444.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.07962, allocations: 0 / 444.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000276/0.0799, allocations: 113.9 kB / 444.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.07994, allocations: 114.8 kB / 444.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.08002, allocations: 145.5 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.08004, allocations: 29.69 kB / 444.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.08007, allocations: 88.14 kB / 444.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.08008, allocations: 4 kB / 444.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.0801, allocations: 9.719 kB / 444.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.08015, allocations: 326.8 kB / 444.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.08021, allocations: 19.98 kB / 444.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.08027, allocations: 47.42 kB / 445 MB, free: 12.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.08038, allocations: 75.28 kB / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.08039, allocations: 0 / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.08054, allocations: 101.4 kB / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.08056, allocations: 4 kB / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.08056, allocations: 0 / 445.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.08058, allocations: 4 kB / 445.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.08066, allocations: 11.98 kB / 445.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.08067, allocations: 4 kB / 445.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.08071, allocations: 8.125 kB / 445.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.08072, allocations: 7.938 kB / 445.2 MB, free: 11.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[2],sample.u[1],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.08081, allocations: 126.6 kB / 445.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.08088, allocations: 49.55 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.08091, allocations: 15.81 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.08093, allocations: 4 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.08094, allocations: 0 / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.08095, allocations: 8.031 kB / 445.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.08111, allocations: 185.5 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.08112, allocations: 3.984 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.08116, allocations: 8 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.08117, allocations: 0 / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.08118, allocations: 0 / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.08119, allocations: 4 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08119, allocations: 0 / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.08136, allocations: 279.4 kB / 445.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.08141, allocations: 93 kB / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.08143, allocations: 0 / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.08153, allocations: 15.98 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.08156, allocations: 144 / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.08157, allocations: 7.984 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.08162, allocations: 107.2 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08162, allocations: 0 / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.08188, allocations: 8 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[2],sample.u[1],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000341/0.08223, allocations: 0.8062 MB / 446.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.08239, allocations: 59.84 kB / 447 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0824, allocations: 0 / 447 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.08247, allocations: 23.98 kB / 447 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.08285, allocations: 28.48 kB / 447 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.08388, allocations: 1.515 MB / 448.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.08401, allocations: 0.6965 MB / 449.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.08405, allocations: 11.89 kB / 449.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.08409, allocations: 23.42 kB / 449.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.0841, allocations: 4 kB / 449.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/0.1842, allocations: 1.469 MB / 450.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.1844, allocations: 253.8 kB / 451 MB, free: 5.836 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.16, allocations: 0 / 451 MB, free: 5.836 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches