Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.853e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002947/0.002976, allocations: 1.524 MB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.003934, allocations: 466.7 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.004004, allocations: 3.938 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.00403, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.004123, allocations: 19.86 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.0044, allocations: 31.89 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.004509, allocations: 39.86 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.004603, allocations: 8 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.004826, allocations: 35.83 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.004876, allocations: 11.94 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.004895, allocations: 4 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.145e-05/0.004937, allocations: 7.984 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.004958, allocations: 7.938 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.004989, allocations: 4 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.005135, allocations: 43.81 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005138, allocations: 4 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005139, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.005144, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.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.0005619/0.005705, allocations: 380.2 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005747, allocations: 8.031 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.005907, allocations: 16.92 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.006108, allocations: 124.5 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.006121, allocations: 4.375 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.006136, allocations: 8.312 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.006463, allocations: 113.5 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.006472, allocations: 192 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.006481, allocations: 384 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.006495, allocations: 3.938 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.00658, allocations: 19.98 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.006741, allocations: 120.6 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.006913, allocations: 62.98 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.006985, allocations: 31.73 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.007008, allocations: 4 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.007046, allocations: 33.39 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.007047, allocations: 0 / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002647/0.007312, allocations: 73.62 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.007382, allocations: 63.28 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.007558, allocations: 173.9 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.007579, allocations: 25.7 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.007662, allocations: 134.9 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.007664, allocations: 0 / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.007693, allocations: 19.38 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004011/0.008094, allocations: 0.4884 MB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.008098, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-06/0.008101, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.008167, allocations: 123.2 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.243e-05/0.008229, allocations: 123.1 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.734e-05/0.008286, allocations: 29.7 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/0.008364, allocations: 131.1 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.466e-05/0.008439, allocations: 119.2 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.008573, allocations: 238.4 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.008641, allocations: 127.1 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001305/0.008771, allocations: 254.3 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.008881, allocations: 123.1 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.008946, allocations: 119.2 kB / 277.8 MB, free: 12.15 MB / 266.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 0.0001838/0.00913, allocations: 279.8 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.009256, allocations: 61.64 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.009287, allocations: 4 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009289, allocations: 0 / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.009298, allocations: 7.922 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009301, allocations: 4 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.009423, allocations: 124.6 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.009429, allocations: 3.984 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.009515, allocations: 11.94 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.009518, allocations: 0 / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.009524, allocations: 0 / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.009527, allocations: 0 / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009528, allocations: 0 / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.009702, allocations: 104.3 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.009725, allocations: 4 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.009738, allocations: 0 / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.009771, allocations: 4 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.009774, allocations: 4 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.009785, allocations: 7.984 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.009873, allocations: 131.1 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009873, allocations: 4 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01008, allocations: 3.938 kB / 278.5 MB, free: 11.33 MB / 266.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 0.0001354/0.01021, allocations: 99.23 kB / 278.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.01032, allocations: 12 kB / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01032, allocations: 0 / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-07/0.01032, allocations: 0 / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.01058, allocations: 37.02 kB / 278.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.01088, allocations: 137.4 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/0.01096, allocations: 67.33 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.027e-05/0.01097, allocations: 0 / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.011, allocations: 12.5 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.011, allocations: 0 / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.00286/0.01386, allocations: 338.2 kB / 279.2 MB, free: 10.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.589809752069414]