Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_cpp_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.0008015/0.0008017, allocations: 173.8 kB / 16.76 MB, free: 5.047 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.121/1.121, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007108/0.0007105, allocations: 89.02 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05568/0.05568, allocations: 12.19 MB / 331.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 12 kB / 392.2 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06225/0.06266, allocations: 50.28 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001342/0.06404, allocations: 1.235 MB / 443.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.06437, allocations: 163.6 kB / 443.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.06445, allocations: 3.938 kB / 443.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.994e-05/0.06453, allocations: 8 kB / 443.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.06461, allocations: 7.922 kB / 443.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.06479, allocations: 31.91 kB / 443.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.06487, allocations: 39.86 kB / 444 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.06496, allocations: 15.98 kB / 444 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.06502, allocations: 19.92 kB / 444 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.06506, allocations: 19.86 kB / 444 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.06508, allocations: 4 kB / 444 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.0651, allocations: 0 / 444 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.06514, allocations: 11.92 kB / 444 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.06517, allocations: 41.58 kB / 444.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.489e-05/0.06523, allocations: 39.92 kB / 444.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.06524, allocations: 0 / 444.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.06525, allocations: 0 / 444.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.06525, allocations: 3.938 kB / 444.1 MB, free: 14.9 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.0003127/0.06557, allocations: 387.3 kB / 444.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.06561, allocations: 12.03 kB / 444.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.06564, allocations: 30.75 kB / 444.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.06567, allocations: 8.844 kB / 444.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.0658, allocations: 200.1 kB / 444.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.06581, allocations: 384 / 444.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.06583, allocations: 4.375 kB / 444.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.06608, allocations: 142.4 kB / 444.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.0661, allocations: 7.875 kB / 444.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.06611, allocations: 0 / 444.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.06614, allocations: 4 kB / 444.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.06626, allocations: 47.97 kB / 445 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.06658, allocations: 373.8 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.06669, allocations: 91.83 kB / 445.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.06676, allocations: 42.56 kB / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.06678, allocations: 0 / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.0668, allocations: 30.56 kB / 445.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.0668, allocations: 0 / 445.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000295/0.0671, allocations: 121.6 kB / 445.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.06714, allocations: 106.8 kB / 445.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.06723, allocations: 149.8 kB / 445.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.06724, allocations: 29.7 kB / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.06727, allocations: 92.08 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.06729, allocations: 7.984 kB / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.06729, allocations: 0 / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.06734, allocations: 310.8 kB / 446.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.0674, allocations: 23.98 kB / 446.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.06746, allocations: 43.42 kB / 446.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.06757, allocations: 79.28 kB / 446.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.06758, allocations: 0 / 446.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001542/0.06774, allocations: 93.56 kB / 446.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.06776, allocations: 12 kB / 446.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.06777, allocations: 0 / 446.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.06779, allocations: 96 / 446.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.06787, allocations: 15.98 kB / 446.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.06788, allocations: 3.938 kB / 446.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.06792, allocations: 11.98 kB / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.06793, allocations: 0 / 446.6 MB, free: 12.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.292e-05/0.06803, allocations: 134.4 kB / 446.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.06811, allocations: 57.53 kB / 446.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.06814, allocations: 15.83 kB / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.06816, allocations: 0 / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.06817, allocations: 4 kB / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.06817, allocations: 3.984 kB / 446.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.06834, allocations: 177.6 kB / 446.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.06835, allocations: 0 / 446.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.0684, allocations: 12.03 kB / 447 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.06841, allocations: 4 kB / 447 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.06842, allocations: 0 / 447 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.06842, allocations: 3.984 kB / 447 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.06843, allocations: 0 / 447 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.06861, allocations: 279.4 kB / 447.2 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.06865, allocations: 100.9 kB / 447.3 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.06867, allocations: 0 / 447.3 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.06877, allocations: 8 kB / 447.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.0688, allocations: 11.92 kB / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.06881, allocations: 0 / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.06886, allocations: 107.3 kB / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06886, allocations: 0 / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.0691, allocations: 8 kB / 447.5 MB, free: 11.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.0694, allocations: 0.8061 MB / 448.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.06956, allocations: 56.16 kB / 448.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.06957, allocations: 0 / 448.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.06963, allocations: 23.92 kB / 448.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.07, allocations: 24.02 kB / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.0707, allocations: 0.5757 MB / 448.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.302e-05/0.0708, allocations: 0.6926 MB / 449.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.07084, allocations: 19.48 kB / 449.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.07085, allocations: 0 / 449.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.432/2.503, allocations: 1.075 MB / 450.7 MB, free: 7.746 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,sample.y[1],sample.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.n,sample.u[1],sample.u[2],sample.y[1],sample.y[2],step1.height,step1.offset,step1.startTime,step1.y,step2.height,step2.offset,step2.startTime,step2.y,time