Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 157.4 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8796/0.8796, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.291e-05, allocations: 5.656 kB / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001918/0.001931, allocations: 1.524 MB / 320 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.002196, allocations: 159.4 kB / 320.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.002251, allocations: 4 kB / 320.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.082e-05/0.002322, allocations: 3.938 kB / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.002398, allocations: 11.92 kB / 320.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.002558, allocations: 35.84 kB / 320.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.002639, allocations: 39.84 kB / 320.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.002716, allocations: 23.86 kB / 320.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.002753, allocations: 27.95 kB / 320.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.238e-05/0.002785, allocations: 7.938 kB / 320.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.002804, allocations: 4 kB / 320.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.002812, allocations: 4 kB / 320.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.002853, allocations: 19.92 kB / 320.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.002876, allocations: 11.94 kB / 320.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.002967, allocations: 55.8 kB / 320.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.002968, allocations: 0 / 320.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002969, allocations: 0 / 320.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.002972, allocations: 0 / 320.4 MB, free: 4.441 MB / 282.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.0002892/0.003261, allocations: 302 kB / 320.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.003296, allocations: 8.922 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.003322, allocations: 34.75 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.734e-05/0.003339, allocations: 12.84 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.003488, allocations: 153.5 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.003495, allocations: 8.375 kB / 320.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.003502, allocations: 4.312 kB / 320.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.003691, allocations: 118.5 kB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.003697, allocations: 192 / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003704, allocations: 4.375 kB / 321 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.003722, allocations: 4.125 kB / 321 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/0.003784, allocations: 39.97 kB / 321 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.004051, allocations: 337 kB / 321.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.004132, allocations: 75.78 kB / 321.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.004172, allocations: 38.62 kB / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.004182, allocations: 7.922 kB / 321.5 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.004199, allocations: 34.56 kB / 321.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.004199, allocations: 4 kB / 321.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.004394, allocations: 105.5 kB / 321.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.004438, allocations: 110.8 kB / 321.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.004514, allocations: 141.8 kB / 321.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.004523, allocations: 29.7 kB / 321.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.004561, allocations: 88.12 kB / 322 MB, free: 2.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/0.004569, allocations: 4.375 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.004593, allocations: 25.67 kB / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.004663, allocations: 314.8 kB / 322.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.00469, allocations: 12 kB / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.00472, allocations: 25.7 kB / 322.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.458e-05/0.004774, allocations: 41.62 kB / 322.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.004776, allocations: 0 / 322.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.207e-05/0.004848, allocations: 73.61 kB / 322.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.004857, allocations: 4 kB / 322.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.004862, allocations: 7.922 kB / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004872, allocations: 4 kB / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.004914, allocations: 4 kB / 322.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.004917, allocations: 0 / 322.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.004938, allocations: 15.88 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.004941, allocations: 0 / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[2],sample1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.191e-05/0.005003, allocations: 121.9 kB / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.00505, allocations: 57.58 kB / 322.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.005067, allocations: 11.97 kB / 322.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.005076, allocations: 3.984 kB / 322.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.00508, allocations: 4 kB / 322.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005082, allocations: 3.938 kB / 322.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.005223, allocations: 140.7 kB / 322.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.005225, allocations: 3.984 kB / 322.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.005245, allocations: 15.92 kB / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.005249, allocations: 8.031 kB / 322.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005254, allocations: 4 kB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005255, allocations: 0 / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005256, allocations: 0 / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.005384, allocations: 259.6 kB / 323.1 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.005409, allocations: 19.88 kB / 323.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.005418, allocations: 3.938 kB / 323.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.005472, allocations: 7.984 kB / 323.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.005504, allocations: 4 kB / 323.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-06/0.005506, allocations: 4 kB / 323.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.005554, allocations: 113.8 kB / 323.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005554, allocations: 0 / 323.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.005722, allocations: 11.98 kB / 323.3 MB, free: 1.164 MB / 282.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 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.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.0002984/0.006021, allocations: 0.7867 MB / 324.1 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.918e-05/0.00612, allocations: 47.91 kB / 324.1 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006121, allocations: 0 / 324.1 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.006156, allocations: 19.92 kB / 324.1 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.006432, allocations: 30.02 kB / 324.2 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.007314, allocations: 1.443 MB / 325.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.00737, allocations: 87.25 kB / 325.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.007394, allocations: 4 kB / 325.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.007426, allocations: 16.48 kB / 325.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007427, allocations: 3.938 kB / 325.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.02086, allocations: 2.385 MB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/6.941, allocations: 7.984 kB / 328.1 MB, free: 12.34 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],step1.height,step1.offset,step1.startTime,step1.y,step2.height,step2.offset,step2.startTime,step2.y,time [Calling sys.exit(0), Time elapsed: 8.597975083626807]