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.001138/0.001138, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009279/0.0009279, allocations: 150.1 kB / 24.81 MB, free: 9.285 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.9754/0.9754, allocations: 173.4 MB / 201.4 MB, free: 9.195 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 2.164e-06/2.164e-06, allocations: 0 / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.814e-05, allocations: 6.25 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002991/0.003019, allocations: 1.53 MB / 270 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.003757, allocations: 422.8 kB / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.003831, allocations: 4 kB / 270.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.003866, allocations: 7.922 kB / 270.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.003938, allocations: 7.875 kB / 270.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.004167, allocations: 31.84 kB / 270.4 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.004257, allocations: 39.84 kB / 270.5 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.004344, allocations: 11.98 kB / 270.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.004453, allocations: 19.92 kB / 270.5 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.004505, allocations: 19.92 kB / 270.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.004521, allocations: 3.984 kB / 270.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.004531, allocations: 8 kB / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.00455, allocations: 0 / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004577, allocations: 15.92 kB / 270.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.464e-05/0.004662, allocations: 23.91 kB / 270.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004666, allocations: 4 kB / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004667, allocations: 0 / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.00467, allocations: 0 / 270.6 MB, free: 4.016 MB / 250.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.0003681/0.005038, allocations: 372.5 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.005081, allocations: 12.92 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.005116, allocations: 12.89 kB / 270.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.00526, allocations: 128.5 kB / 271.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.005269, allocations: 384 / 271.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.005281, allocations: 12.36 kB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.005475, allocations: 98.23 kB / 271.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.005482, allocations: 4.125 kB / 271.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.005488, allocations: 384 / 271.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.005494, allocations: 3.938 kB / 271.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.005519, allocations: 4 kB / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.005623, allocations: 109.2 kB / 271.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.005699, allocations: 43.05 kB / 271.3 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.005726, allocations: 11.72 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.005747, allocations: 4 kB / 271.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.005771, allocations: 37.33 kB / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005773, allocations: 0 / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001441/0.005917, allocations: 53.69 kB / 271.4 MB, free: 2.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.005958, allocations: 55.39 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.006052, allocations: 177.8 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006063, allocations: 25.7 kB / 271.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.006114, allocations: 138.9 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.006116, allocations: 0 / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.00614, allocations: 19.38 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.006288, allocations: 492.1 kB / 272.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-06/0.006291, allocations: 0 / 272.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.006295, allocations: 3.938 kB / 272.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.006629, allocations: 123.2 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.209e-05/0.006661, allocations: 119.2 kB / 272.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.281e-05/0.006713, allocations: 33.69 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.006756, allocations: 123.2 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.00679, allocations: 123.2 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.211e-05/0.006862, allocations: 246.3 kB / 273.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.006896, allocations: 123.2 kB / 273.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.987e-05/0.006956, allocations: 242.3 kB / 273.4 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.007029, allocations: 131.1 kB / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.007064, allocations: 131.3 kB / 273.7 MB, free: 0.6602 MB / 250.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 9.904e-05/0.007163, allocations: 279.7 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.007238, allocations: 49.64 kB / 274 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.007269, allocations: 8 kB / 274 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.007271, allocations: 240 / 274 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007273, allocations: 4 kB / 274 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.007278, allocations: 7.922 kB / 274 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.696e-05/0.007345, allocations: 101.2 kB / 274.1 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.007349, allocations: 0 / 274.1 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.00743, allocations: 8 kB / 274.1 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.007433, allocations: 0 / 274.1 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.007437, allocations: 3.938 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007439, allocations: 0 / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00744, allocations: 0 / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.053e-05/0.007491, allocations: 72.31 kB / 274.2 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.007522, allocations: 11.89 kB / 274.2 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007533, allocations: 4 kB / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.061e-05/0.007563, allocations: 8 kB / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.007566, allocations: 0 / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.007571, allocations: 0 / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.007637, allocations: 131.2 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007637, allocations: 0 / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.007835, allocations: 4 kB / 274.4 MB, free: 15.91 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 9.22e-05/0.007928, allocations: 95.25 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.454e-05/0.007982, allocations: 11.92 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007984, allocations: 0 / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.007985, allocations: 4 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.008183, allocations: 21.09 kB / 274.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.008651, allocations: 133.1 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.008691, allocations: 59.34 kB / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.008703, allocations: 0 / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.008748, allocations: 70.2 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008749, allocations: 0 / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Templates: time 0.002269/0.01102, allocations: 350 kB / 275.1 MB, free: 15.12 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6826519411988556]