Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008962/0.000896, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 4 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002793/0.1409, allocations: 1.622 MB / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1433, allocations: 1.263 MB / 362.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.1435, allocations: 3.938 kB / 362.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.144, allocations: 67.8 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.1443, allocations: 111.6 kB / 362.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.1451, allocations: 191.6 kB / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.1454, allocations: 179.4 kB / 362.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1455, allocations: 45.64 kB / 362.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1457, allocations: 71.62 kB / 362.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1458, allocations: 79.62 kB / 362.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1458, allocations: 0 / 362.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.146, allocations: 55.95 kB / 362.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.1461, allocations: 47.78 kB / 363 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1462, allocations: 109 kB / 363.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1465, allocations: 243.4 kB / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1465, allocations: 0 / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1465, allocations: 0 / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1465, allocations: 0 / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007597/0.1473, allocations: 0.5112 MB / 363.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1474, allocations: 8.031 kB / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.1474, allocations: 24.66 kB / 363.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1478, allocations: 291.6 kB / 364.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1479, allocations: 8.375 kB / 364.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1479, allocations: 12.12 kB / 364.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.1483, allocations: 188.2 kB / 364.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1483, allocations: 0 / 364.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1484, allocations: 8 kB / 364.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1484, allocations: 4 kB / 364.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1485, allocations: 47.84 kB / 364.4 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1491, allocations: 387.3 kB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.1494, allocations: 146.5 kB / 364.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1495, allocations: 63.41 kB / 365 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.1496, allocations: 0 / 365 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.1498, allocations: 87.25 kB / 365.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.1498, allocations: 0 / 365.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004923/0.1503, allocations: 169.3 kB / 365.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1505, allocations: 191.9 kB / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.1509, allocations: 342.9 kB / 365.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1509, allocations: 29.7 kB / 365.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.151, allocations: 132.5 kB / 365.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.1511, allocations: 24.09 kB / 366 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.1511, allocations: 25.72 kB / 366 MB, free: 6.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1513, allocations: 338.8 kB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.1514, allocations: 23.98 kB / 366.3 MB, free: 5.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1515, allocations: 100.4 kB / 366.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1517, allocations: 105.9 kB / 366.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1517, allocations: 0 / 366.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002496/0.152, allocations: 145.6 kB / 366.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.152, allocations: 4 kB / 366.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.152, allocations: 4 kB / 366.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.152, allocations: 0 / 366.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1522, allocations: 31.92 kB / 366.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1522, allocations: 0 / 366.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.1523, allocations: 11.94 kB / 366.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1523, allocations: 8.188 kB / 366.7 MB, free: 5.395 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001687/0.1525, allocations: 165.7 kB / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1526, allocations: 77.36 kB / 367 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.1527, allocations: 33.67 kB / 367 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1527, allocations: 0 / 367 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.1527, allocations: 7.984 kB / 367 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1527, allocations: 3.938 kB / 367 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.153, allocations: 253.5 kB / 367.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.153, allocations: 4 kB / 367.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.1531, allocations: 12 kB / 367.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1531, allocations: 0 / 367.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1531, allocations: 7.984 kB / 367.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1531, allocations: 0 / 367.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1531, allocations: 4 kB / 367.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.1535, allocations: 183.3 kB / 367.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1536, allocations: 116.8 kB / 367.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.1537, allocations: 8 kB / 367.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.1537, allocations: 4 kB / 367.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.1538, allocations: 15.92 kB / 367.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1539, allocations: 11.92 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.1542, allocations: 253.9 kB / 367.9 MB, free: 4.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1542, allocations: 4 kB / 367.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000313/0.1545, allocations: 39.98 kB / 367.9 MB, free: 4.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001242/0.1557, allocations: 417.5 kB / 368.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.156, allocations: 79.89 kB / 368.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.156, allocations: 0 / 368.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.1561, allocations: 32.3 kB / 368.4 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.1567, allocations: 77.92 kB / 368.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.1576, allocations: 454.3 kB / 369 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.158, allocations: 0.7479 MB / 369.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.1582, allocations: 33.75 kB / 369.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.1583, allocations: 19.44 kB / 369.8 MB, free: 2.332 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1583, allocations: 4 kB / 369.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of Templates: time 0.2252/0.3835, allocations: 2.916 MB / 372.7 MB, free: 18.78 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches