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.001602/0.001602, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001591/0.001591, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.539/1.539, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001569/0.001569, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3714, allocations: 52.14 MB / 420.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002911/0.3743, allocations: 1.512 MB / 422.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.3751, allocations: 441 kB / 422.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3752, allocations: 3.938 kB / 422.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.3752, allocations: 7.922 kB / 422.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.3753, allocations: 11.86 kB / 422.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.3755, allocations: 27.97 kB / 422.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.3756, allocations: 39.8 kB / 422.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3757, allocations: 11.98 kB / 422.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.3758, allocations: 19.88 kB / 422.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.3759, allocations: 15.92 kB / 422.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3759, allocations: 4 kB / 423 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.3759, allocations: 4 kB / 423 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.3759, allocations: 11.97 kB / 423 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.376, allocations: 19.88 kB / 423 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.846e-05/0.3761, allocations: 29.44 kB / 423 MB, free: 13.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3761, allocations: 0 / 423 MB, free: 13.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3761, allocations: 0 / 423 MB, free: 13.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3761, allocations: 0 / 423 MB, free: 13.08 MB / 334.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.0004964/0.3766, allocations: 355.2 kB / 423.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3766, allocations: 8.031 kB / 423.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3767, allocations: 12.89 kB / 423.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3769, allocations: 188.2 kB / 423.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3769, allocations: 4.375 kB / 423.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.3769, allocations: 4.375 kB / 423.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.3772, allocations: 119.5 kB / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3773, allocations: 4 kB / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.3773, allocations: 0 / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3773, allocations: 0 / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.3774, allocations: 19.98 kB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3775, allocations: 157.7 kB / 423.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.3777, allocations: 58.5 kB / 423.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.3777, allocations: 28.92 kB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3777, allocations: 0 / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3778, allocations: 38.48 kB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3778, allocations: 0 / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.378, allocations: 73.62 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3781, allocations: 55.41 kB / 424.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3782, allocations: 121.7 kB / 424.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3782, allocations: 25.7 kB / 424.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.3782, allocations: 88.14 kB / 424.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.3782, allocations: 0 / 424.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.3783, allocations: 21.7 kB / 424.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3784, allocations: 310.8 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.3784, allocations: 8 kB / 424.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.3785, allocations: 35.59 kB / 424.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.3785, allocations: 31.38 kB / 424.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3785, allocations: 0 / 424.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.766e-05/0.3786, allocations: 53.75 kB / 424.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3786, allocations: 15.94 kB / 424.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3786, allocations: 4 kB / 424.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3786, allocations: 0 / 424.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.3787, allocations: 11.94 kB / 424.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3787, allocations: 0 / 424.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.3787, allocations: 7.938 kB / 424.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.3787, allocations: 0 / 424.8 MB, free: 11 MB / 334.1 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 7.945e-05/0.3788, allocations: 117.8 kB / 425 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3789, allocations: 73.56 kB / 425 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.3789, allocations: 3.906 kB / 425 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3789, allocations: 0 / 425 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.379, allocations: 0 / 425 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.379, allocations: 0 / 425 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3791, allocations: 165.7 kB / 425.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3791, allocations: 0 / 425.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.3791, allocations: 11.92 kB / 425.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3791, allocations: 7.938 kB / 425.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3791, allocations: 0 / 425.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3791, allocations: 0 / 425.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3791, allocations: 4 kB / 425.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3793, allocations: 85.06 kB / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3793, allocations: 85.05 kB / 425.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3794, allocations: 4 kB / 425.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.3794, allocations: 7.984 kB / 425.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.3794, allocations: 384 / 425.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3794, allocations: 0 / 425.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.3795, allocations: 99.2 kB / 425.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3795, allocations: 0 / 425.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.3796, allocations: 4 kB / 425.5 MB, free: 10.24 MB / 334.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.0001112/0.3797, allocations: 99.98 kB / 425.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.3799, allocations: 23.98 kB / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3799, allocations: 0 / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3799, allocations: 0 / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3801, allocations: 32.16 kB / 425.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.3804, allocations: 142.6 kB / 425.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3807, allocations: 0.6844 MB / 426.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.689e-05/0.3807, allocations: 7.984 kB / 426.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.3807, allocations: 11.44 kB / 426.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3807, allocations: 0 / 426.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of Templates: time 0.002613/0.3834, allocations: 372.8 kB / 426.9 MB, free: 8.82 MB / 334.1 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: 4.824632312171161]