Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00841/0.00841, allocations: 93.45 kB / 15.91 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 201.1 kB / 16.84 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222.7 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08521/0.08521, allocations: 12.58 MB / 282.6 MB, free: 8.848 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 87.89 kB / 342.8 MB, free: 21.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1173, allocations: 49.39 MB / 392.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.003362/0.1207, allocations: 1.68 MB / 393.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.1216, allocations: 0.5385 MB / 394.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.1217, allocations: 4 kB / 394.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.1218, allocations: 7.922 kB / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1219, allocations: 15.92 kB / 394.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1221, allocations: 51.83 kB / 394.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.1223, allocations: 51.8 kB / 394.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1224, allocations: 19.98 kB / 394.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.1225, allocations: 31.84 kB / 394.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.1225, allocations: 23.86 kB / 394.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1225, allocations: 0 / 394.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.1226, allocations: 8 kB / 394.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.1226, allocations: 7.938 kB / 394.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1227, allocations: 35.73 kB / 394.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1228, allocations: 63.73 kB / 394.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1228, allocations: 0 / 394.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1228, allocations: 0 / 394.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1228, allocations: 0 / 394.7 MB, free: 1.145 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005853/0.1234, allocations: 383.3 kB / 395.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1235, allocations: 12.03 kB / 395.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1235, allocations: 16.75 kB / 395.1 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1238, allocations: 204.1 kB / 395.3 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1238, allocations: 12.31 kB / 395.3 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.1238, allocations: 384 / 395.3 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1241, allocations: 143 kB / 395.5 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1242, allocations: 4 kB / 395.5 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1242, allocations: 4 kB / 395.5 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1242, allocations: 0 / 395.5 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.1243, allocations: 27.92 kB / 395.5 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1247, allocations: 291.4 kB / 395.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1248, allocations: 90.42 kB / 395.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.1249, allocations: 43.48 kB / 395.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1249, allocations: 4 kB / 395.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.125, allocations: 42.44 kB / 396 MB, free: 15.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.125, allocations: 0 / 396 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002937/0.1253, allocations: 101.9 kB / 396.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.1254, allocations: 140.5 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1255, allocations: 150.3 kB / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1255, allocations: 33.7 kB / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1256, allocations: 88.05 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1256, allocations: 11.98 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1257, allocations: 21.81 kB / 396.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1258, allocations: 318.8 kB / 396.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.1258, allocations: 12 kB / 396.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.1259, allocations: 49.14 kB / 396.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.126, allocations: 69.02 kB / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.126, allocations: 0 / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.1262, allocations: 89.45 kB / 397 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1262, allocations: 4 kB / 397 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1262, allocations: 0 / 397 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1262, allocations: 4 kB / 397 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.1263, allocations: 11.98 kB / 397 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1264, allocations: 4 kB / 397.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1264, allocations: 7.938 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.1264, allocations: 4 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.588e-05/0.1265, allocations: 133.9 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.1267, allocations: 65.44 kB / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.1267, allocations: 15.88 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1267, allocations: 4 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1267, allocations: 0 / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1267, allocations: 0 / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1269, allocations: 177.6 kB / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1269, allocations: 8.125 kB / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.127, allocations: 11.98 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.127, allocations: 8.094 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.127, allocations: 0 / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.127, allocations: 0 / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.127, allocations: 4 kB / 397.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1272, allocations: 201.9 kB / 397.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1273, allocations: 93 kB / 397.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1273, allocations: 4 kB / 397.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1274, allocations: 3.984 kB / 397.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1275, allocations: 4 kB / 397.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1275, allocations: 3.938 kB / 397.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.1276, allocations: 119.1 kB / 397.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1276, allocations: 3.938 kB / 397.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1278, allocations: 8 kB / 397.9 MB, free: 13.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 9.046e-05/0.1279, allocations: 99.25 kB / 398 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1281, allocations: 47.84 kB / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1281, allocations: 0 / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.1281, allocations: 8 kB / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1286, allocations: 44.58 kB / 398.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1291, allocations: 235.4 kB / 398.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1295, allocations: 0.7004 MB / 399 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.1296, allocations: 8.656 kB / 399 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1296, allocations: 11.44 kB / 399.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1296, allocations: 0 / 399.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Templates: time 0.002968/0.1326, allocations: 0.7808 MB / 399.8 MB, free: 11.5 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches