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.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 211.7 kB / 18.79 MB, free: 4.383 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.553/1.553, allocations: 230.4 MB / 250 MB, free: 9.055 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.001928/0.001928, allocations: 71.83 kB / 367.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3357, allocations: 53.31 MB / 420.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002903/0.3386, allocations: 1.561 MB / 422.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.339, allocations: 135.5 kB / 422.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.3391, allocations: 7.938 kB / 422.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.448e-05/0.3391, allocations: 7.922 kB / 422.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.3393, allocations: 3.938 kB / 422.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3395, allocations: 39.89 kB / 422.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3397, allocations: 35.86 kB / 422.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3398, allocations: 8 kB / 422.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.3398, allocations: 19.92 kB / 422.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.3399, allocations: 11.94 kB / 422.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3399, allocations: 7.938 kB / 422.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.3399, allocations: 4 kB / 422.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.34, allocations: 15.91 kB / 422.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.34, allocations: 23.81 kB / 422.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.3401, allocations: 43.62 kB / 422.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3402, allocations: 0 / 422.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3402, allocations: 0 / 422.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3402, allocations: 0 / 422.6 MB, free: 6.469 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005524/0.3407, allocations: 378.1 kB / 422.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3408, allocations: 8.031 kB / 423 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.3408, allocations: 8.891 kB / 423 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3411, allocations: 192.2 kB / 423.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3411, allocations: 4.312 kB / 423.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.3411, allocations: 8.359 kB / 423.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.3415, allocations: 113.6 kB / 423.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3415, allocations: 192 / 423.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.3415, allocations: 7.938 kB / 423.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.3415, allocations: 7.938 kB / 423.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.3416, allocations: 11.98 kB / 423.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3421, allocations: 261.8 kB / 423.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3424, allocations: 146.2 kB / 423.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.3424, allocations: 29.72 kB / 423.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3424, allocations: 4 kB / 423.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3425, allocations: 38.55 kB / 423.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3425, allocations: 0 / 423.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002612/0.3427, allocations: 77.56 kB / 423.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.3428, allocations: 77.11 kB / 423.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.343, allocations: 138 kB / 424.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.343, allocations: 29.64 kB / 424.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.343, allocations: 88.27 kB / 424.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.3431, allocations: 7.938 kB / 424.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.3431, allocations: 17.72 kB / 424.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3433, allocations: 314.8 kB / 424.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.3433, allocations: 11.98 kB / 424.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.3434, allocations: 31.42 kB / 424.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.3435, allocations: 47.38 kB / 424.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3435, allocations: 0 / 424.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.3436, allocations: 77.61 kB / 424.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3436, allocations: 8 kB / 424.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3436, allocations: 0 / 424.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3436, allocations: 4 kB / 424.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.3437, allocations: 11.98 kB / 424.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3437, allocations: 0 / 424.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.3437, allocations: 7.953 kB / 424.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.3437, allocations: 0 / 424.7 MB, free: 4.043 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.0001081/0.3438, allocations: 117.8 kB / 424.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.3439, allocations: 57.58 kB / 424.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.344, allocations: 12.25 kB / 424.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.344, allocations: 0 / 424.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.344, allocations: 3.984 kB / 424.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.344, allocations: 4 kB / 424.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.3442, allocations: 169.6 kB / 425.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3442, allocations: 0 / 425.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.3442, allocations: 11.94 kB / 425.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3442, allocations: 0 / 425.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3442, allocations: 0 / 425.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3442, allocations: 0 / 425.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3442, allocations: 8 kB / 425.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3444, allocations: 168.2 kB / 425.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.3445, allocations: 89.09 kB / 425.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3445, allocations: 4 kB / 425.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.3446, allocations: 384 / 425.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3446, allocations: 3.984 kB / 425.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.3446, allocations: 8 kB / 425.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.32e-05/0.3447, allocations: 102.4 kB / 425.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3447, allocations: 4 kB / 425.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000216/0.3449, allocations: 4 kB / 425.5 MB, free: 3.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001109/0.345, allocations: 99.19 kB / 425.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3452, allocations: 35.89 kB / 425.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3452, allocations: 4.25 kB / 425.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.3452, allocations: 11.94 kB / 425.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3455, allocations: 31.94 kB / 425.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.3459, allocations: 154.2 kB / 425.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3462, allocations: 0.6885 MB / 426.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.095e-05/0.3462, allocations: 8.062 kB / 426.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3463, allocations: 7.438 kB / 426.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3463, allocations: 0 / 426.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of Templates: time 0.003113/0.3494, allocations: 0.4991 MB / 427 MB, free: 1.586 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches