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.0009174/0.0009174, allocations: 96.55 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 169.4 kB / 16.62 MB, free: 6.43 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.762/1.762, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.08617/0.08617, allocations: 12.6 MB / 283.7 MB, free: 8.684 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.0007044/0.0007048, allocations: 20 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1105, allocations: 50.39 MB / 394.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2): time 0.001807/0.1123, allocations: 1.236 MB / 396.2 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.1127, allocations: 151.6 kB / 396.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.1128, allocations: 0 / 396.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.1129, allocations: 3.938 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.113, allocations: 4 kB / 396.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1132, allocations: 35.91 kB / 396.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.344e-05/0.1133, allocations: 35.8 kB / 396.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.1134, allocations: 15.98 kB / 396.4 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.1134, allocations: 4 kB / 396.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.1135, allocations: 15.86 kB / 396.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1135, allocations: 3.984 kB / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1135, allocations: 4 kB / 396.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1136, allocations: 8 kB / 396.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1136, allocations: 37.64 kB / 396.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.167e-05/0.1137, allocations: 19.95 kB / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1137, allocations: 0 / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1137, allocations: 0 / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.1137, allocations: 0 / 396.5 MB, free: 1.191 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004069/0.1141, allocations: 371.3 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1142, allocations: 12.03 kB / 396.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1142, allocations: 7.906 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1144, allocations: 186.9 kB / 397.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1144, allocations: 4 kB / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.1145, allocations: 7.953 kB / 397.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.1148, allocations: 116.9 kB / 397.2 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1148, allocations: 0 / 397.2 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1148, allocations: 4 kB / 397.2 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1148, allocations: 0 / 397.2 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.1149, allocations: 23.92 kB / 397.2 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1152, allocations: 265.8 kB / 397.5 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1154, allocations: 142.2 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.1155, allocations: 37.77 kB / 397.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1155, allocations: 0 / 397.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1156, allocations: 34.56 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1156, allocations: 7.938 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002727/0.1159, allocations: 89.5 kB / 397.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.1159, allocations: 77.11 kB / 397.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1161, allocations: 138 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1161, allocations: 25.7 kB / 398 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.1161, allocations: 88.14 kB / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.1162, allocations: 0 / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.1162, allocations: 0 / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1163, allocations: 330.9 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.1164, allocations: 4 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.1164, allocations: 35.36 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.1165, allocations: 20 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1165, allocations: 0 / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.1166, allocations: 69.52 kB / 398.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1166, allocations: 8 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1166, allocations: 0 / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1166, allocations: 0 / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.1167, allocations: 12.12 kB / 398.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1167, allocations: 11.92 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.1168, allocations: 4 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1168, allocations: 4 kB / 398.6 MB, free: 14.81 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.1169, allocations: 121.8 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.1169, allocations: 49.59 kB / 398.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.117, allocations: 8.25 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.117, allocations: 0 / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.117, allocations: 0 / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.117, allocations: 4 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1172, allocations: 173.6 kB / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1172, allocations: 0 / 398.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.1172, allocations: 15.92 kB / 398.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1172, allocations: 0 / 398.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1173, allocations: 0 / 398.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1173, allocations: 7.938 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1173, allocations: 0 / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1174, allocations: 172.3 kB / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1175, allocations: 89.05 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1175, allocations: 4 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.1176, allocations: 0 / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1176, allocations: 8 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1176, allocations: 3.984 kB / 399.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.1177, allocations: 103.3 kB / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1177, allocations: 0 / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.118, allocations: 15.84 kB / 399.3 MB, free: 13.95 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.1181, allocations: 102.9 kB / 399.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.1182, allocations: 27.98 kB / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1182, allocations: 256 / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.1182, allocations: 19.92 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1186, allocations: 24.02 kB / 399.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.1189, allocations: 153.8 kB / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1192, allocations: 0.6966 MB / 400.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.1193, allocations: 4 kB / 400.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.1193, allocations: 7.438 kB / 400.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1193, allocations: 4 kB / 400.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003139/0.1225, allocations: 451.6 kB / 400.8 MB, free: 12.4 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches