Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001766, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.002245/0.002245, allocations: 192.1 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.543/1.543, allocations: 205.1 MB / 223.3 MB, free: 12.19 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.07482/0.07482, allocations: 12.58 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.00197/0.00197, allocations: 85.92 kB / 394.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 49.4 MB / 443.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2): time 0.003083/0.1086, allocations: 1.544 MB / 445.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.1091, allocations: 135.6 kB / 445.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1092, allocations: 0 / 445.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.286e-05/0.1093, allocations: 7.922 kB / 445.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1095, allocations: 3.938 kB / 445.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1098, allocations: 39.89 kB / 445.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1099, allocations: 35.86 kB / 445.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.11, allocations: 19.97 kB / 445.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.1101, allocations: 15.92 kB / 445.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.1102, allocations: 15.94 kB / 445.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1102, allocations: 4 kB / 445.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.1102, allocations: 0 / 445.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1103, allocations: 11.92 kB / 445.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.1103, allocations: 27.75 kB / 445.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1105, allocations: 47.75 kB / 445.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1105, allocations: 0 / 445.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1105, allocations: 0 / 445.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1105, allocations: 4 kB / 445.5 MB, free: 14.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005191/0.111, allocations: 371.1 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1111, allocations: 12.03 kB / 445.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1111, allocations: 8.891 kB / 445.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1114, allocations: 196.1 kB / 446.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1114, allocations: 4.375 kB / 446.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1115, allocations: 4.312 kB / 446.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1118, allocations: 117.6 kB / 446.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1118, allocations: 192 / 446.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1118, allocations: 7.938 kB / 446.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1118, allocations: 0 / 446.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.1119, allocations: 15.98 kB / 446.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1123, allocations: 269.7 kB / 446.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1125, allocations: 142.2 kB / 446.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.1126, allocations: 33.7 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1126, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1126, allocations: 42.56 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1127, allocations: 0 / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.1129, allocations: 77.56 kB / 446.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.1131, allocations: 81.09 kB / 446.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1132, allocations: 134.1 kB / 447 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1132, allocations: 25.7 kB / 447 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1133, allocations: 88.27 kB / 447.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1133, allocations: 7.953 kB / 447.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1134, allocations: 17.72 kB / 447.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1135, allocations: 318.8 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.1135, allocations: 4 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.1136, allocations: 35.42 kB / 447.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.1137, allocations: 47.36 kB / 447.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1137, allocations: 0 / 447.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.1138, allocations: 77.44 kB / 447.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1138, allocations: 8.125 kB / 447.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1138, allocations: 0 / 447.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1139, allocations: 4.281 kB / 447.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.1139, allocations: 8 kB / 447.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1139, allocations: 0 / 447.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.114, allocations: 7.938 kB / 447.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.114, allocations: 7.922 kB / 447.6 MB, free: 12.24 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 7.346e-05/0.1141, allocations: 117.8 kB / 447.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.1141, allocations: 57.56 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.1142, allocations: 16.25 kB / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1142, allocations: 0 / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1142, allocations: 0 / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1142, allocations: 4 kB / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.1144, allocations: 169.6 kB / 448 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1144, allocations: 0 / 448 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1144, allocations: 11.98 kB / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1144, allocations: 0 / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1144, allocations: 0 / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1145, allocations: 4 kB / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1145, allocations: 0 / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1146, allocations: 172.2 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.1147, allocations: 93.05 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1147, allocations: 4 kB / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.1148, allocations: 0 / 448.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1148, allocations: 3.938 kB / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1148, allocations: 8 kB / 448.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.1149, allocations: 107.2 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1149, allocations: 0 / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.1151, allocations: 4 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 9.071e-05/0.1152, allocations: 95.25 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1154, allocations: 27.92 kB / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1154, allocations: 0 / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.1154, allocations: 16.23 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1158, allocations: 23.97 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.1161, allocations: 146.3 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1164, allocations: 0.6924 MB / 449.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.1164, allocations: 7.906 kB / 449.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1165, allocations: 7.5 kB / 449.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1165, allocations: 4 kB / 449.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Templates: time 0.002955/0.1194, allocations: 0.5004 MB / 449.9 MB, free: 9.797 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches