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.001472/0.001472, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001448/0.001448, allocations: 163.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.463/1.463, allocations: 177.1 MB / 204.3 MB, free: 9.211 MB / 190.1 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 2.334e-06/2.334e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.239e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003334/0.003366, allocations: 1.521 MB / 326.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004453, allocations: 450.7 kB / 327 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.004545, allocations: 5.125 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.00458, allocations: 9.734 kB / 327 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.345e-05/0.004674, allocations: 9.812 kB / 327.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.005018, allocations: 30.19 kB / 327.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.005151, allocations: 39.22 kB / 327.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005261, allocations: 13.64 kB / 327.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.005457, allocations: 29.47 kB / 327.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.005527, allocations: 12.5 kB / 327.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.005547, allocations: 2.188 kB / 327.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.005595, allocations: 5.062 kB / 327.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.005623, allocations: 14.53 kB / 327.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.005663, allocations: 6.266 kB / 327.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.005828, allocations: 47.38 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005832, allocations: 1.188 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005833, allocations: 3.938 kB / 327.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.00584, allocations: 0.7031 kB / 327.3 MB, free: 15.1 MB / 302.1 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.0005353/0.006375, allocations: 277.5 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.006423, allocations: 8.875 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.006604, allocations: 12.42 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.006821, allocations: 124.5 kB / 327.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.006835, allocations: 1.656 kB / 327.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.006848, allocations: 7.062 kB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.00724, allocations: 109 kB / 327.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.007254, allocations: 4.125 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007266, allocations: 5.812 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.007281, allocations: 4.594 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.007383, allocations: 24.64 kB / 327.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.00753, allocations: 101.1 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.007724, allocations: 57.16 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.0078, allocations: 22.81 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.007824, allocations: 1.25 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.007864, allocations: 32.48 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.007866, allocations: 3.938 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003134/0.008179, allocations: 82.94 kB / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.008244, allocations: 57.22 kB / 328.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.008378, allocations: 114.2 kB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.0084, allocations: 25.7 kB / 328.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.00846, allocations: 90.05 kB / 328.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.008463, allocations: 0 / 328.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.008493, allocations: 12.73 kB / 328.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.00867, allocations: 316.8 kB / 328.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.008675, allocations: 0 / 328.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.008682, allocations: 5.719 kB / 328.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.008724, allocations: 79.28 kB / 328.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.166e-05/0.008765, allocations: 76.22 kB / 328.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.141e-05/0.008837, allocations: 29.53 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.008906, allocations: 81.8 kB / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/0.00895, allocations: 77.17 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.009054, allocations: 160.4 kB / 329.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.009113, allocations: 81.47 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.863e-05/0.009212, allocations: 163.6 kB / 329.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.00932, allocations: 77.53 kB / 329.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.009365, allocations: 75.28 kB / 329.6 MB, free: 12.83 MB / 302.1 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.0001523/0.009518, allocations: 190.1 kB / 329.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.009666, allocations: 66.81 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.009706, allocations: 14.02 kB / 329.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.009712, allocations: 2 kB / 329.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.009722, allocations: 3.938 kB / 329.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.009726, allocations: 1.375 kB / 329.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.009851, allocations: 105.2 kB / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.009855, allocations: 0 / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.009958, allocations: 10 kB / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.009961, allocations: 0 / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.009972, allocations: 5.328 kB / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.009974, allocations: 0 / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009976, allocations: 1.031 kB / 330 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.01017, allocations: 95.5 kB / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.0102, allocations: 8.594 kB / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.01022, allocations: 1.375 kB / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.01025, allocations: 2.406 kB / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-06/0.01026, allocations: 0 / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01026, allocations: 2.594 kB / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.01034, allocations: 96.5 kB / 330.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01034, allocations: 7.938 kB / 330.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.01057, allocations: 3.375 kB / 330.2 MB, free: 12.27 MB / 302.1 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.0001421/0.01071, allocations: 100.1 kB / 330.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.339e-05/0.0108, allocations: 12.38 kB / 330.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0108, allocations: 0 / 330.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.0108, allocations: 0 / 330.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01108, allocations: 29.14 kB / 330.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.01141, allocations: 125.6 kB / 330.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.01149, allocations: 73.41 kB / 330.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.395e-05/0.0115, allocations: 0 / 330.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.01153, allocations: 8.5 kB / 330.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.01153, allocations: 0 / 330.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Templates: time 0.004156/0.01569, allocations: 321.7 kB / 330.9 MB, free: 11.9 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] 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.391325008124113]