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.001299/0.001299, allocations: 173.6 kB / 16.76 MB, free: 5.051 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.513/1.513, allocations: 205 MB / 222.5 MB, free: 9.059 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.0008455/0.0008452, allocations: 92.98 kB / 270.5 MB, free: 8.66 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.07973/0.07973, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003822, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08804, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001588/0.08966, allocations: 1.29 MB / 443 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.09055, allocations: 0.4996 MB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.09068, allocations: 4 kB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.097e-05/0.09078, allocations: 3.938 kB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.09092, allocations: 3.984 kB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.09122, allocations: 43.91 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.09133, allocations: 47.8 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.09145, allocations: 11.98 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.09154, allocations: 15.92 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.09161, allocations: 19.86 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.09164, allocations: 4 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.09166, allocations: 0 / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.09173, allocations: 11.92 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.09177, allocations: 23.88 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.661e-05/0.09186, allocations: 43.86 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.09187, allocations: 0 / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.09188, allocations: 0 / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.09189, allocations: 0 / 443.7 MB, free: 14.36 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.0004343/0.09233, allocations: 371.4 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.09238, allocations: 8.031 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.09243, allocations: 8.844 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.0926, allocations: 192.8 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.09262, allocations: 4.375 kB / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.09265, allocations: 384 / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.09295, allocations: 125.3 kB / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.09298, allocations: 7.938 kB / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.093, allocations: 7.938 kB / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.09301, allocations: 0 / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.0931, allocations: 23.98 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.09341, allocations: 261.8 kB / 444.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.09362, allocations: 142.2 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.0937, allocations: 33.77 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.09376, allocations: 0 / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.09379, allocations: 38.56 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.09379, allocations: 3.938 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000279/0.09408, allocations: 85.56 kB / 445 MB, free: 12.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.09414, allocations: 81.23 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.09425, allocations: 135.8 kB / 445.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.09428, allocations: 29.7 kB / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.09433, allocations: 88.14 kB / 445.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.09435, allocations: 15.83 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.09438, allocations: 9.719 kB / 445.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.09445, allocations: 318.8 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.09451, allocations: 15.98 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.09456, allocations: 39.41 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.576e-05/0.09466, allocations: 51.36 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09467, allocations: 8 kB / 445.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001279/0.0948, allocations: 61.62 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.09482, allocations: 8 kB / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.09484, allocations: 0 / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.09486, allocations: 0 / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.09493, allocations: 15.92 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.09495, allocations: 4.125 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.09499, allocations: 8 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.09501, allocations: 4 kB / 445.9 MB, free: 11.9 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.421e-05/0.09508, allocations: 122.6 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.09515, allocations: 45.61 kB / 446 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.09519, allocations: 12.23 kB / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09519, allocations: 0 / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.09521, allocations: 4 kB / 446.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.09521, allocations: 0 / 446.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.09535, allocations: 173.6 kB / 446.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.09536, allocations: 0 / 446.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.09542, allocations: 15.92 kB / 446.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.09543, allocations: 4 kB / 446.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.09544, allocations: 4 kB / 446.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.09545, allocations: 0 / 446.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.09545, allocations: 0 / 446.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.09561, allocations: 180.2 kB / 446.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.09566, allocations: 93 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.09569, allocations: 8 kB / 446.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.09576, allocations: 0 / 446.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.09579, allocations: 7.984 kB / 446.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.0958, allocations: 0 / 446.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.719e-05/0.09586, allocations: 109.9 kB / 446.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.09586, allocations: 4 kB / 446.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.09608, allocations: 11.88 kB / 446.6 MB, free: 11.02 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.339e-05/0.09617, allocations: 99.23 kB / 446.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.09631, allocations: 35.92 kB / 446.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.09632, allocations: 0 / 446.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.09636, allocations: 16.23 kB / 446.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.0967, allocations: 23.97 kB / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.09703, allocations: 218.6 kB / 447 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.09717, allocations: 0.6966 MB / 447.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.0972, allocations: 11.44 kB / 447.7 MB, free: 9.859 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.09721, allocations: 3.938 kB / 447.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of Templates: time 0.001885/0.0991, allocations: 0.727 MB / 448.5 MB, free: 9.129 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