Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 104.5 kB / 16.45 MB, free: 6.445 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.001127/0.001127, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.647/1.647, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08403/0.08403, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001833/0.001833, allocations: 91.05 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1147, allocations: 49.4 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.003717/0.1185, allocations: 1.571 MB / 445.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.1196, allocations: 0.5113 MB / 445.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1197, allocations: 7.938 kB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.1197, allocations: 3.938 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.12, allocations: 7.938 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1202, allocations: 55.75 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1204, allocations: 43.86 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1205, allocations: 32.08 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.709e-05/0.1206, allocations: 15.94 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.1207, allocations: 23.86 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1207, allocations: 4 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.1207, allocations: 0 / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.1208, allocations: 19.91 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1208, allocations: 27.81 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.121, allocations: 59.67 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.121, allocations: 4 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.121, allocations: 4 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.121, allocations: 0 / 446 MB, free: 14.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005416/0.1216, allocations: 371.1 kB / 446.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1216, allocations: 8.031 kB / 446.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.1217, allocations: 12.84 kB / 446.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.122, allocations: 192.2 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.122, allocations: 4.375 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.122, allocations: 8.375 kB / 446.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1224, allocations: 117.9 kB / 446.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1224, allocations: 7.984 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1224, allocations: 3.984 kB / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1224, allocations: 4 kB / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.1225, allocations: 23.92 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1229, allocations: 270.6 kB / 447 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.123, allocations: 71.78 kB / 447 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.1231, allocations: 38.52 kB / 447.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.1232, allocations: 3.984 kB / 447.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.1232, allocations: 42.55 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1232, allocations: 0 / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00028/0.1235, allocations: 81.52 kB / 447.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.834e-05/0.1236, allocations: 110.8 kB / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1238, allocations: 137.8 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1238, allocations: 30.08 kB / 447.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1239, allocations: 92.14 kB / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.1239, allocations: 0 / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.124, allocations: 29.61 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1241, allocations: 318.8 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.1242, allocations: 15.98 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.1242, allocations: 27.44 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.126e-05/0.1243, allocations: 55.36 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1243, allocations: 0 / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.1245, allocations: 65.7 kB / 448 MB, free: 11.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1245, allocations: 8.031 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1245, allocations: 0 / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1245, allocations: 4 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.1246, allocations: 15.92 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1246, allocations: 0 / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.1247, allocations: 4 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1247, allocations: 4 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.611e-05/0.1248, allocations: 121.8 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.1249, allocations: 57.55 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1249, allocations: 15.81 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1249, allocations: 0 / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1249, allocations: 0 / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1249, allocations: 3.938 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1251, allocations: 185.4 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1251, allocations: 0 / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1252, allocations: 11.98 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1252, allocations: 4 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1252, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1252, allocations: 4.062 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1252, allocations: 0 / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.1254, allocations: 181.1 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.1255, allocations: 97 kB / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1255, allocations: 0 / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1256, allocations: 8 kB / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1256, allocations: 3.984 kB / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1256, allocations: 7.938 kB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.243e-05/0.1257, allocations: 111.9 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1257, allocations: 0 / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1259, allocations: 7.984 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 0.0001122/0.1261, allocations: 95.25 kB / 449 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1262, allocations: 31.92 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1262, allocations: 4 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.1263, allocations: 11.98 kB / 449 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1266, allocations: 27.91 kB / 449.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.127, allocations: 177.2 kB / 449.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1274, allocations: 0.6963 MB / 449.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1275, allocations: 7.875 kB / 449.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1275, allocations: 11.44 kB / 449.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1275, allocations: 0 / 449.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of Templates: time 0.003332/0.1308, allocations: 0.6018 MB / 450.5 MB, free: 8.996 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches