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.Sample1.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.001365/0.001365, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001528/0.001528, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.528/1.528, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [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.001991/0.001991, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003188/0.3449, allocations: 1.611 MB / 433.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.346, allocations: 0.5337 MB / 434.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3461, allocations: 4 kB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.631e-05/0.3461, allocations: 7.922 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.3463, allocations: 11.86 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.3466, allocations: 59.81 kB / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3468, allocations: 43.8 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3469, allocations: 15.98 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.347, allocations: 31.91 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.3471, allocations: 19.86 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3471, allocations: 8 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.3471, allocations: 8 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3472, allocations: 15.92 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.3472, allocations: 23.81 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3474, allocations: 57.28 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3474, allocations: 0 / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3474, allocations: 0 / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3474, allocations: 3.938 kB / 434.5 MB, free: 4.93 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.0005955/0.348, allocations: 379 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3481, allocations: 12.03 kB / 434.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3482, allocations: 28.83 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3485, allocations: 199.5 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.3485, allocations: 4.375 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.3486, allocations: 4.375 kB / 435.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3489, allocations: 121.3 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3489, allocations: 0 / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3489, allocations: 0 / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3489, allocations: 4 kB / 435.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.349, allocations: 23.97 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.3494, allocations: 265.8 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3496, allocations: 134.2 kB / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.3497, allocations: 29.77 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3497, allocations: 0 / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3497, allocations: 42.5 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3497, allocations: 0 / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002761/0.35, allocations: 73.62 kB / 435.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.3501, allocations: 89.03 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3502, allocations: 138.2 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3502, allocations: 25.7 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.3503, allocations: 88.27 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3503, allocations: 15.88 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3503, allocations: 17.72 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3505, allocations: 314.8 kB / 436.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.3505, allocations: 11.92 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.3506, allocations: 35.42 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3507, allocations: 55.3 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3507, allocations: 0 / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001658/0.3509, allocations: 69.67 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3509, allocations: 8.031 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3509, allocations: 3.984 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3509, allocations: 4 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.351, allocations: 11.94 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.351, allocations: 0 / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.351, allocations: 4 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.351, allocations: 7.922 kB / 436.7 MB, free: 2.457 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 9.261e-05/0.3511, allocations: 117.8 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.3512, allocations: 57.91 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.3513, allocations: 12.25 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.3513, allocations: 0 / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3513, allocations: 4 kB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3513, allocations: 0 / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3515, allocations: 169.6 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3515, allocations: 7.922 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.3515, allocations: 8 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3515, allocations: 4 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.3515, allocations: 0 / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3515, allocations: 4 kB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3515, allocations: 4 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.3517, allocations: 168.3 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.3518, allocations: 93.05 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3518, allocations: 4 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.3519, allocations: 3.984 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3519, allocations: 4 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3519, allocations: 7.938 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.27e-05/0.352, allocations: 113.8 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3522, allocations: 4 kB / 437.4 MB, free: 1.582 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.0001243/0.3524, allocations: 95.25 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3525, allocations: 31.92 kB / 437.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3525, allocations: 8.188 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.3526, allocations: 11.98 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3529, allocations: 23.95 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.3533, allocations: 205 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3536, allocations: 0.6924 MB / 438.5 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3537, allocations: 7.438 kB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3537, allocations: 4.062 kB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of Templates: time 0.002342/0.356, allocations: 0.7722 MB / 439.3 MB, free: 15.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 7.303154279012233]