Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 174.2 kB / 16.8 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 223 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007251/0.0007251, allocations: 90.34 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06757/0.06757, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005513, allocations: 19.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1141, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.002231/0.1164, allocations: 1.286 MB / 445 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1175, allocations: 491.8 kB / 445.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.1176, allocations: 11.94 kB / 445.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.1177, allocations: 3.984 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1179, allocations: 3.938 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1182, allocations: 39.91 kB / 445.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1184, allocations: 43.78 kB / 445.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1185, allocations: 19.97 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.1186, allocations: 19.92 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.1187, allocations: 11.88 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1187, allocations: 8 kB / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.1188, allocations: 0 / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.1189, allocations: 15.97 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1189, allocations: 45.52 kB / 445.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1191, allocations: 35.94 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1191, allocations: 3.938 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1191, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1191, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 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.0004751/0.1196, allocations: 371.5 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1196, allocations: 8.031 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1197, allocations: 8.844 kB / 446.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1199, allocations: 200.7 kB / 446.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1199, allocations: 4.375 kB / 446.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.12, allocations: 384 / 446.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.1203, allocations: 129.3 kB / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1204, allocations: 0 / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1204, allocations: 0 / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1204, allocations: 4 kB / 446.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1206, allocations: 23.92 kB / 446.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.1209, allocations: 269.8 kB / 446.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1211, allocations: 134.2 kB / 446.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1212, allocations: 29.77 kB / 446.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1213, allocations: 12 kB / 446.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1213, allocations: 38.55 kB / 446.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.1213, allocations: 0 / 446.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003068/0.1216, allocations: 85.52 kB / 447 MB, free: 11.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1217, allocations: 81.23 kB / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1218, allocations: 135.7 kB / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1218, allocations: 29.7 kB / 447.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.1219, allocations: 92.12 kB / 447.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1219, allocations: 3.906 kB / 447.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1219, allocations: 7.875 kB / 447.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.122, allocations: 314.8 kB / 447.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.122, allocations: 19.98 kB / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.1221, allocations: 39.42 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1222, allocations: 51.36 kB / 447.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1222, allocations: 0 / 447.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001777/0.1224, allocations: 65.62 kB / 447.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1225, allocations: 7.984 kB / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1225, allocations: 4 kB / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1225, allocations: 4.125 kB / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.1226, allocations: 8 kB / 447.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1226, allocations: 0 / 447.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.1227, allocations: 8 kB / 447.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1227, allocations: 11.92 kB / 447.9 MB, free: 10.93 MB / 298.7 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 6.907e-05/0.1228, allocations: 118.7 kB / 448 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.1229, allocations: 49.88 kB / 448 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.1229, allocations: 8.25 kB / 448 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1229, allocations: 8.031 kB / 448.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.123, allocations: 0 / 448.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.123, allocations: 3.938 kB / 448.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1231, allocations: 173.6 kB / 448.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1232, allocations: 0 / 448.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.1233, allocations: 11.98 kB / 448.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1233, allocations: 0 / 448.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1233, allocations: 4 kB / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1233, allocations: 7.938 kB / 448.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1233, allocations: 0 / 448.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.1235, allocations: 176.2 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1236, allocations: 93 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1236, allocations: 0 / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1237, allocations: 7.984 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1238, allocations: 0 / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1238, allocations: 8 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.1239, allocations: 109.9 kB / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1239, allocations: 0 / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.1243, allocations: 7.938 kB / 448.6 MB, free: 10.05 MB / 298.7 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 8.506e-05/0.1244, allocations: 95.19 kB / 448.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1245, allocations: 44.11 kB / 448.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1246, allocations: 0 / 448.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.1246, allocations: 15.92 kB / 448.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.1251, allocations: 23.97 kB / 448.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1255, allocations: 230.9 kB / 449 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.1257, allocations: 0.6901 MB / 449.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1257, allocations: 7.438 kB / 449.7 MB, free: 8.887 MB / 298.7 MB Notification: Performance of SimCode: time 5e-07/0.1257, allocations: 4 kB / 449.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of Templates: time 0.002378/0.1281, allocations: 0.7307 MB / 450.5 MB, free: 8.152 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches