Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001711/0.001711, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 61.69 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00514/0.1136, allocations: 1.981 MB / 359 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1163, allocations: 1.204 MB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.1167, allocations: 4 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1179, allocations: 147.6 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006984/0.1186, allocations: 143.6 kB / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.1194, allocations: 159.5 kB / 360.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.1199, allocations: 203.4 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1201, allocations: 41.66 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1203, allocations: 83.62 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1205, allocations: 79.62 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.1206, allocations: 12 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1208, allocations: 55.97 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1209, allocations: 51.77 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1211, allocations: 75.48 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.1217, allocations: 219.5 kB / 361.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1217, allocations: 4 kB / 361.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1217, allocations: 0 / 361.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1217, allocations: 0 / 361.4 MB, free: 9.953 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.001338/0.1231, allocations: 0.5234 MB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.1231, allocations: 8.031 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.1233, allocations: 24.66 kB / 362 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.1238, allocations: 274.8 kB / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1239, allocations: 384 / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1239, allocations: 20.12 kB / 362.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.1244, allocations: 165.9 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1244, allocations: 4 kB / 362.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.1244, allocations: 4 kB / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1245, allocations: 0 / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1246, allocations: 47.89 kB / 362.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.1254, allocations: 379.1 kB / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1257, allocations: 138.5 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1258, allocations: 55.36 kB / 363 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.1259, allocations: 4 kB / 363 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1261, allocations: 79.31 kB / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.1261, allocations: 0 / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004237/0.1265, allocations: 161.6 kB / 363.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.1266, allocations: 166.2 kB / 363.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.127, allocations: 282.6 kB / 363.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.127, allocations: 25.7 kB / 363.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.1271, allocations: 120.4 kB / 363.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1271, allocations: 19.8 kB / 363.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.1272, allocations: 33.62 kB / 363.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1273, allocations: 338.8 kB / 364.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.1274, allocations: 23.98 kB / 364.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1275, allocations: 75.72 kB / 364.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1277, allocations: 97.91 kB / 364.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1277, allocations: 256 / 364.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002448/0.128, allocations: 137.4 kB / 364.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.128, allocations: 4 kB / 364.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.128, allocations: 0 / 364.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.128, allocations: 4 kB / 364.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.1281, allocations: 19.92 kB / 364.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1281, allocations: 0 / 364.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.1282, allocations: 23.78 kB / 364.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1282, allocations: 4 kB / 364.6 MB, free: 6.367 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,sample1.u,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.0001529/0.1284, allocations: 145.9 kB / 364.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1285, allocations: 81.38 kB / 364.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.1286, allocations: 25.7 kB / 364.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1286, allocations: 0 / 364.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1286, allocations: 4 kB / 364.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1286, allocations: 3.938 kB / 364.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1289, allocations: 237.5 kB / 365.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1289, allocations: 0 / 365.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1289, allocations: 8.078 kB / 365.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1289, allocations: 11.94 kB / 365.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1289, allocations: 0 / 365.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.129, allocations: 4 kB / 365.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.129, allocations: 0 / 365.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1293, allocations: 175.4 kB / 365.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1294, allocations: 112.8 kB / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.1294, allocations: 4 kB / 365.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.1295, allocations: 7.984 kB / 365.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.1296, allocations: 4 kB / 365.4 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.1296, allocations: 8 kB / 365.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1299, allocations: 217.9 kB / 365.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1299, allocations: 0 / 365.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1302, allocations: 32 kB / 365.7 MB, free: 5.199 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,sample1.u,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.001034/0.1312, allocations: 415.3 kB / 366.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1315, allocations: 79.89 kB / 366.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1315, allocations: 0 / 366.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.1315, allocations: 31.92 kB / 366.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.132, allocations: 84 kB / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.1326, allocations: 393.9 kB / 366.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.133, allocations: 0.7359 MB / 367.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.1331, allocations: 21.53 kB / 367.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1331, allocations: 23.44 kB / 367.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1331, allocations: 0 / 367.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of Templates: time 0.006234/0.1394, allocations: 2.634 MB / 370.1 MB, free: 0.9062 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches