Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.611/1.611, allocations: 230.4 MB / 251.1 MB, free: 8.445 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.89 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 53.32 MB / 422.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002894/0.3157, allocations: 1.496 MB / 423.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.3165, allocations: 482.7 kB / 424.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.3166, allocations: 4 kB / 424.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.3166, allocations: 3.938 kB / 424.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.3167, allocations: 7.875 kB / 424.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.317, allocations: 31.89 kB / 424.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3171, allocations: 43.86 kB / 424.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.3172, allocations: 15.98 kB / 424.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3173, allocations: 23.92 kB / 424.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.3174, allocations: 15.92 kB / 424.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3174, allocations: 0 / 424.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.3175, allocations: 8 kB / 424.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3175, allocations: 15.86 kB / 424.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.3175, allocations: 15.92 kB / 424.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.3177, allocations: 47.28 kB / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3177, allocations: 0 / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3177, allocations: 0 / 424.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3177, allocations: 4 kB / 424.5 MB, free: 5.621 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.0004865/0.3182, allocations: 346.3 kB / 424.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3182, allocations: 12.02 kB / 424.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.3183, allocations: 8.938 kB / 424.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3186, allocations: 188.2 kB / 425 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3186, allocations: 8.344 kB / 425 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3186, allocations: 8.375 kB / 425 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.319, allocations: 119.5 kB / 425.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.319, allocations: 0 / 425.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.319, allocations: 0 / 425.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.319, allocations: 4 kB / 425.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.3191, allocations: 19.97 kB / 425.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.3193, allocations: 169.6 kB / 425.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3194, allocations: 50.55 kB / 425.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.3195, allocations: 24.92 kB / 425.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3195, allocations: 0 / 425.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3195, allocations: 38.44 kB / 425.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3195, allocations: 4 kB / 425.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002437/0.3198, allocations: 77.66 kB / 425.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.3198, allocations: 55.41 kB / 425.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3199, allocations: 113.8 kB / 425.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3199, allocations: 25.7 kB / 425.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.32, allocations: 88.14 kB / 425.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/0.32, allocations: 384 / 425.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.32, allocations: 17.72 kB / 425.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3202, allocations: 318.8 kB / 426.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.3202, allocations: 7.938 kB / 426.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.3202, allocations: 31.38 kB / 426.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.3203, allocations: 35.36 kB / 426.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3203, allocations: 4 kB / 426.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.236e-05/0.3204, allocations: 57.59 kB / 426.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3204, allocations: 7.938 kB / 426.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3204, allocations: 0 / 426.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3204, allocations: 7.984 kB / 426.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.3205, allocations: 4 kB / 426.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3205, allocations: 128 / 426.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.3205, allocations: 8 kB / 426.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3205, allocations: 0 / 426.3 MB, free: 3.551 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 0.0001013/0.3206, allocations: 117.8 kB / 426.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3207, allocations: 61.61 kB / 426.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.3208, allocations: 8.234 kB / 426.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3208, allocations: 0 / 426.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3208, allocations: 4 kB / 426.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3208, allocations: 3.984 kB / 426.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.3209, allocations: 169.5 kB / 426.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3209, allocations: 0 / 426.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.321, allocations: 8 kB / 426.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.321, allocations: 7.922 kB / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.321, allocations: 0 / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.321, allocations: 0 / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.321, allocations: 0 / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3212, allocations: 93.05 kB / 426.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.3212, allocations: 89 kB / 426.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3212, allocations: 4 kB / 426.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.3213, allocations: 7.984 kB / 426.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-06/0.3213, allocations: 0 / 426.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3213, allocations: 3.938 kB / 426.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.3214, allocations: 87.28 kB / 427 MB, free: 2.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3214, allocations: 0 / 427 MB, free: 2.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.3215, allocations: 4 kB / 427 MB, free: 2.781 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.0001303/0.3217, allocations: 107.5 kB / 427.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.3218, allocations: 27.92 kB / 427.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3218, allocations: 0 / 427.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.3218, allocations: 3.938 kB / 427.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.322, allocations: 16 kB / 427.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.3223, allocations: 138.6 kB / 427.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3227, allocations: 0.6848 MB / 427.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.3227, allocations: 0 / 427.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.3227, allocations: 11.44 kB / 427.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3227, allocations: 0 / 427.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Templates: time 0.002805/0.3255, allocations: 375.1 kB / 428.3 MB, free: 1.375 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches