Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 107.7 kB / 16.45 MB, free: 6.488 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.001231/0.001231, allocations: 185.5 kB / 17.38 MB, free: 5.711 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.585/1.585, allocations: 205.1 MB / 223.3 MB, free: 12.27 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.08175/0.08175, allocations: 12.6 MB / 283.2 MB, free: 15.41 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.001759/0.001759, allocations: 81.58 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1054, allocations: 49.4 MB / 443.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.003049/0.1085, allocations: 1.563 MB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.1094, allocations: 0.5346 MB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.1095, allocations: 7.938 kB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.155e-05/0.1096, allocations: 7.922 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1098, allocations: 15.86 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1101, allocations: 55.77 kB / 445.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1102, allocations: 43.91 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1103, allocations: 24.16 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.1104, allocations: 23.86 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.1105, allocations: 19.86 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1105, allocations: 4 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.1105, allocations: 0 / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1106, allocations: 23.86 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.1106, allocations: 23.81 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1108, allocations: 59.61 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1108, allocations: 4 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1108, allocations: 4 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1108, 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.0005166/0.1113, allocations: 379.1 kB / 446.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1114, allocations: 12.03 kB / 446.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1114, allocations: 8.891 kB / 446.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1117, allocations: 204.1 kB / 446.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1117, allocations: 384 / 446.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1117, allocations: 12.31 kB / 446.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.112, allocations: 122 kB / 446.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.112, allocations: 0 / 446.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.112, allocations: 0 / 446.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1121, allocations: 0 / 446.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.1121, allocations: 31.91 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1125, allocations: 274.6 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1126, allocations: 79.83 kB / 447.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.1127, allocations: 26.58 kB / 447.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1127, allocations: 4 kB / 447.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1128, allocations: 42.48 kB / 447.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1128, allocations: 0 / 447.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002697/0.1131, allocations: 85.56 kB / 447.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.1131, allocations: 102.8 kB / 447.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1133, allocations: 145.8 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1133, allocations: 25.7 kB / 447.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1134, allocations: 88.14 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1134, allocations: 8.375 kB / 447.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1134, allocations: 21.67 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1135, allocations: 322.8 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.1136, allocations: 7.984 kB / 447.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.1136, allocations: 35.38 kB / 448 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.976e-05/0.1137, allocations: 51.36 kB / 448 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1138, allocations: 0 / 448 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.1139, allocations: 69.61 kB / 448.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1139, allocations: 4 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1139, allocations: 128 / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1139, allocations: 8 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.114, allocations: 11.98 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1141, allocations: 0 / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.1141, allocations: 11.89 kB / 448.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1141, allocations: 0 / 448.1 MB, free: 11.61 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.978e-05/0.1142, allocations: 129.7 kB / 448.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.1143, allocations: 45.66 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.1143, allocations: 23.88 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1143, allocations: 0 / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1144, allocations: 3.938 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1144, allocations: 4 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1146, allocations: 173.5 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1146, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.1146, allocations: 15.92 kB / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1146, allocations: 4 kB / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1147, allocations: 0 / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1147, allocations: 0 / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1147, allocations: 0 / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1149, allocations: 185.1 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.115, allocations: 93.05 kB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.115, allocations: 4 kB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1151, allocations: 4 kB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1151, allocations: 7.922 kB / 448.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1151, allocations: 8 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.547e-05/0.1152, allocations: 104 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1152, allocations: 0 / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1155, allocations: 8 kB / 448.9 MB, free: 10.71 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 9.389e-05/0.1156, allocations: 99.23 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1157, allocations: 31.92 kB / 449.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1158, allocations: 4.25 kB / 449.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.1158, allocations: 7.984 kB / 449.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1162, allocations: 23.97 kB / 449.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.1165, allocations: 184.5 kB / 449.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1169, allocations: 0.6887 MB / 450 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1169, allocations: 11.75 kB / 450 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1169, allocations: 15.44 kB / 450 MB, free: 9.582 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1169, allocations: 0 / 450 MB, free: 9.582 MB / 334.1 MB Notification: Performance of Templates: time 0.002972/0.1199, allocations: 0.5981 MB / 450.6 MB, free: 8.984 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches