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.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 112.6 kB / 18.78 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.001583/0.001583, allocations: 215.9 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.641/1.641, allocations: 230.4 MB / 251.1 MB, free: 8.441 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.002664/0.002664, allocations: 63.84 kB / 369 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3517, allocations: 53.32 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003378/0.3551, allocations: 1.601 MB / 423.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3564, allocations: 0.5648 MB / 424.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.3565, allocations: 7.938 kB / 424.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.477e-05/0.3565, allocations: 3.938 kB / 424.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.3567, allocations: 11.88 kB / 424.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.3571, allocations: 63.8 kB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3572, allocations: 55.78 kB / 424.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3573, allocations: 8.188 kB / 424.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3575, allocations: 31.84 kB / 424.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.3575, allocations: 19.86 kB / 424.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3576, allocations: 4 kB / 424.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.3576, allocations: 8 kB / 424.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3577, allocations: 15.92 kB / 424.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.3577, allocations: 31.8 kB / 424.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3579, allocations: 55.27 kB / 424.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3579, allocations: 0 / 424.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3579, allocations: 4 kB / 424.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3579, allocations: 0 / 424.8 MB, free: 5.359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006911/0.3586, allocations: 397.8 kB / 425.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3586, allocations: 8.031 kB / 425.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.3588, allocations: 20.88 kB / 425.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3591, allocations: 196.8 kB / 425.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3591, allocations: 12.38 kB / 425.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3592, allocations: 3.938 kB / 425.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.3595, allocations: 113.9 kB / 425.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3595, allocations: 0 / 425.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3595, allocations: 0 / 425.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3595, allocations: 4 kB / 425.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.3596, allocations: 31.91 kB / 425.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.36, allocations: 270.6 kB / 425.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3601, allocations: 71.78 kB / 425.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3602, allocations: 26.64 kB / 425.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3602, allocations: 3.938 kB / 425.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.3603, allocations: 42.55 kB / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3603, allocations: 4 kB / 425.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002867/0.3606, allocations: 85.52 kB / 426 MB, free: 3.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.3607, allocations: 106.8 kB / 426.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3608, allocations: 154.6 kB / 426.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3608, allocations: 25.7 kB / 426.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.3609, allocations: 92.52 kB / 426.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.3609, allocations: 0 / 426.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.361, allocations: 25.66 kB / 426.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3611, allocations: 314.8 kB / 426.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.3612, allocations: 11.98 kB / 426.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.3612, allocations: 39.31 kB / 426.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3614, allocations: 47.36 kB / 426.8 MB, free: 3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3614, allocations: 3.984 kB / 426.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.3615, allocations: 65.62 kB / 426.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3615, allocations: 12.12 kB / 426.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3615, allocations: 0 / 426.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3615, allocations: 0 / 426.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.3616, allocations: 15.98 kB / 426.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3616, allocations: 3.938 kB / 426.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.3617, allocations: 7.938 kB / 426.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3617, allocations: 4 kB / 426.9 MB, free: 2.883 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.0001117/0.3618, allocations: 117.8 kB / 427 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.3619, allocations: 57.55 kB / 427.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.3619, allocations: 15.86 kB / 427.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3619, allocations: 4 kB / 427.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3619, allocations: 0 / 427.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3619, allocations: 3.938 kB / 427.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3622, allocations: 173.6 kB / 427.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3622, allocations: 0 / 427.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.3622, allocations: 11.98 kB / 427.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3622, allocations: 0 / 427.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3622, allocations: 4 kB / 427.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3622, allocations: 4.062 kB / 427.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3622, allocations: 0 / 427.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.3625, allocations: 185.2 kB / 427.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.3626, allocations: 96.98 kB / 427.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3626, allocations: 4 kB / 427.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.3626, allocations: 11.98 kB / 427.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3627, allocations: 3.938 kB / 427.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3627, allocations: 0 / 427.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.474e-05/0.3628, allocations: 115 kB / 427.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3628, allocations: 0 / 427.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000219/0.363, allocations: 4 kB / 427.7 MB, free: 1.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001428/0.3631, allocations: 103.2 kB / 427.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.3633, allocations: 31.92 kB / 427.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3633, allocations: 0 / 427.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.3633, allocations: 15.92 kB / 427.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3637, allocations: 31.89 kB / 427.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.3641, allocations: 176.8 kB / 428.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3646, allocations: 0.7002 MB / 428.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.3646, allocations: 3.984 kB / 428.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.3647, allocations: 11.44 kB / 428.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3647, allocations: 0 / 428.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of Templates: time 0.003926/0.3686, allocations: 0.6127 MB / 429.4 MB, free: 248 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches