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.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002476/0.002476, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.68/1.68, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "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.002142/0.002142, allocations: 63.89 kB / 379.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3622, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003207/0.3654, allocations: 1.735 MB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.3659, allocations: 167.3 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.366, allocations: 0 / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.366, allocations: 15.86 kB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.3662, allocations: 7.938 kB / 434.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3664, allocations: 43.83 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3666, allocations: 55.89 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3667, allocations: 23.98 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.3668, allocations: 23.86 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.3668, allocations: 27.86 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3668, allocations: 4 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.3669, allocations: 4 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.3669, allocations: 19.86 kB / 434.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.367, allocations: 39.73 kB / 434.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3672, allocations: 73.28 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3672, allocations: 0 / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3672, allocations: 0 / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.3672, allocations: 4 kB / 434.6 MB, free: 4.742 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007117/0.3679, allocations: 313.9 kB / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.368, allocations: 8.031 kB / 435 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.368, allocations: 12.89 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.3684, allocations: 142.3 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3684, allocations: 4.375 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3684, allocations: 12.31 kB / 435.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.3689, allocations: 158.4 kB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3689, allocations: 192 / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3689, allocations: 3.938 kB / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.3689, allocations: 4 kB / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.369, allocations: 43.91 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.3696, allocations: 329 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.3698, allocations: 123.7 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.37, allocations: 54.67 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.37, allocations: 4 kB / 435.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.37, allocations: 34.56 kB / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.37, allocations: 0 / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004047/0.3704, allocations: 121.5 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3705, allocations: 110.8 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3707, allocations: 136.8 kB / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3707, allocations: 25.7 kB / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3707, allocations: 92.38 kB / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3708, allocations: 11.95 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.3708, allocations: 21.72 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.371, allocations: 318.8 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.371, allocations: 19.98 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/0.3711, allocations: 75.66 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3712, allocations: 103.5 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3712, allocations: 0 / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.3714, allocations: 105.9 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3715, allocations: 12.03 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3715, allocations: 3.938 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3715, allocations: 4 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.3716, allocations: 16 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3716, allocations: 7.984 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.3716, allocations: 19.83 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3716, allocations: 4 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001023/0.3717, allocations: 121.8 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3719, allocations: 77.78 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.3719, allocations: 20.7 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3719, allocations: 4 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3719, allocations: 0 / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3719, allocations: 0 / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3722, allocations: 160.6 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3722, allocations: 3.938 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.3722, allocations: 19.98 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3722, allocations: 0 / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3722, allocations: 0 / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3722, allocations: 4 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3722, allocations: 7.984 kB / 437.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.3726, allocations: 316.2 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.3727, allocations: 15.95 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.3727, allocations: 15.92 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.3728, allocations: 4 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3728, allocations: 0 / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3728, allocations: 4 kB / 437.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.3729, allocations: 107.2 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3729, allocations: 0 / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3732, allocations: 12 kB / 437.9 MB, free: 1.078 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 (10): * Single equations (assignments): 10 * 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.883e-05/0.3733, allocations: 95.25 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3735, allocations: 67.84 kB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3735, allocations: 0 / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.3735, allocations: 11.92 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.374, allocations: 55.09 kB / 438.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3744, allocations: 196.3 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3748, allocations: 0.7011 MB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.3748, allocations: 0.6719 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.3749, allocations: 11.44 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3749, allocations: 0 / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Templates: time 0.003677/0.3785, allocations: 0.7692 MB / 439.8 MB, free: 15.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 5.09963099565357]