Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006587/0.0006587, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003212/0.003212, allocations: 150.2 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8247/0.8247, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.537e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001856/0.001881, allocations: 1.484 MB / 321.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005262/0.002407, allocations: 411 kB / 321.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.002462, allocations: 0 / 321.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.002488, allocations: 3.938 kB / 321.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.002547, allocations: 15.88 kB / 321.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.002759, allocations: 35.83 kB / 321.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.002842, allocations: 47.8 kB / 321.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.002926, allocations: 0 / 321.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.002997, allocations: 31.91 kB / 321.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.003041, allocations: 7.984 kB / 321.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.003063, allocations: 4 kB / 321.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.00307, allocations: 4 kB / 321.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.00309, allocations: 15.92 kB / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.003116, allocations: 8 kB / 321.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.882e-05/0.003205, allocations: 39.81 kB / 321.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003207, allocations: 0 / 321.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003208, allocations: 0 / 321.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003212, allocations: 0 / 321.8 MB, free: 3.734 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003078/0.00352, allocations: 270.2 kB / 322.1 MB, free: 3.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.003554, allocations: 12.92 kB / 322.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.003581, allocations: 4.891 kB / 322.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.003741, allocations: 133.6 kB / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.003748, allocations: 384 / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.003757, allocations: 4.375 kB / 322.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.003978, allocations: 115.8 kB / 322.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003984, allocations: 4.188 kB / 322.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003993, allocations: 4.375 kB / 322.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.003998, allocations: 7.938 kB / 322.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.004047, allocations: 19.92 kB / 322.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.021e-05/0.004128, allocations: 105.3 kB / 322.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.004217, allocations: 62.53 kB / 322.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.004251, allocations: 16.89 kB / 322.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.004268, allocations: 8.031 kB / 322.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.004283, allocations: 30.56 kB / 322.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004284, allocations: 0 / 322.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.004433, allocations: 85.56 kB / 322.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.004466, allocations: 59.28 kB / 322.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.00452, allocations: 113.8 kB / 322.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004529, allocations: 25.7 kB / 322.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.004557, allocations: 88.14 kB / 322.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.004559, allocations: 0 / 322.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.004577, allocations: 17.7 kB / 323 MB, free: 2.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.004645, allocations: 314.8 kB / 323.3 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.004649, allocations: 4 kB / 323.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-06/0.004651, allocations: 0 / 323.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.00467, allocations: 79.28 kB / 323.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.004686, allocations: 75.28 kB / 323.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.518e-05/0.004721, allocations: 33.64 kB / 323.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.004747, allocations: 79.28 kB / 323.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.004763, allocations: 75.28 kB / 323.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.192e-05/0.004805, allocations: 162.5 kB / 323.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.616e-05/0.004821, allocations: 75.38 kB / 323.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.373e-05/0.004854, allocations: 158.5 kB / 324 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.0049, allocations: 87.22 kB / 324.1 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.004918, allocations: 75.28 kB / 324.1 MB, free: 1.195 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.465e-05/0.004982, allocations: 189.1 kB / 324.3 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.005057, allocations: 69.56 kB / 324.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.005079, allocations: 8 kB / 324.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005081, allocations: 0 / 324.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.005085, allocations: 3.938 kB / 324.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.005087, allocations: 0 / 324.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.591e-05/0.005133, allocations: 101.3 kB / 324.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.005136, allocations: 4 kB / 324.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.0052, allocations: 11.98 kB / 324.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.005203, allocations: 0 / 324.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.00521, allocations: 12 kB / 324.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.005212, allocations: 0 / 324.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.005213, allocations: 0 / 324.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.087e-05/0.005294, allocations: 93 kB / 324.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.00531, allocations: 0 / 324.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.005319, allocations: 0 / 324.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.509e-05/0.005334, allocations: 12.2 kB / 324.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-06/0.005336, allocations: 3.938 kB / 324.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.005341, allocations: 0 / 324.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.005372, allocations: 95.53 kB / 324.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005372, allocations: 4 kB / 324.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001307/0.005503, allocations: 4 kB / 324.7 MB, free: 0.5234 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 7.68e-05/0.005579, allocations: 111.2 kB / 324.8 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.528e-05/0.005635, allocations: 11.98 kB / 324.9 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005636, allocations: 0 / 324.9 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.005636, allocations: 0 / 324.9 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.005802, allocations: 23.94 kB / 324.9 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.006027, allocations: 154.6 kB / 325 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.006067, allocations: 71.34 kB / 325.1 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.00609, allocations: 8.5 kB / 325.1 MB, free: 92 kB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006091, allocations: 0 / 325.1 MB, free: 92 kB / 282.7 MB Notification: Performance of Templates: time 0.001274/0.007365, allocations: 0.5593 MB / 325.7 MB, free: 15.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.838014191016555]