Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 39.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00313/0.3262, allocations: 1.581 MB / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004156/0.3266, allocations: 135.5 kB / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.3267, allocations: 0 / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.3268, allocations: 3.938 kB / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3269, allocations: 11.94 kB / 424.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3271, allocations: 39.83 kB / 424.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3272, allocations: 35.86 kB / 424.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3273, allocations: 11.98 kB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.3274, allocations: 15.92 kB / 425 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.3274, allocations: 19.92 kB / 425 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3274, allocations: 4 kB / 425 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.3275, allocations: 0 / 425 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.3275, allocations: 11.94 kB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.3276, allocations: 23.81 kB / 425 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3277, allocations: 53 kB / 425.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3277, allocations: 0 / 425.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3277, allocations: 0 / 425.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3277, allocations: 0 / 425.1 MB, free: 12.73 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.0005081/0.3282, allocations: 302.1 kB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3282, allocations: 8.031 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3283, allocations: 8.891 kB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3285, allocations: 130.4 kB / 425.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3285, allocations: 4.375 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3286, allocations: 4.375 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.3289, allocations: 113.6 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3289, allocations: 192 / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3289, allocations: 3.938 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3289, allocations: 3.938 kB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.329, allocations: 23.92 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.3293, allocations: 240.8 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3295, allocations: 61.08 kB / 426 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.3295, allocations: 25.77 kB / 426 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3296, allocations: 11.98 kB / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3296, allocations: 34.56 kB / 426 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3296, allocations: 0 / 426 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002558/0.3298, allocations: 73.61 kB / 426.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3299, allocations: 81.09 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.33, allocations: 145.4 kB / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.33, allocations: 25.7 kB / 426.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.3301, allocations: 88.27 kB / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.3301, allocations: 0 / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3301, allocations: 17.72 kB / 426.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3303, allocations: 318.8 kB / 426.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.3303, allocations: 11.94 kB / 426.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.3304, allocations: 31.42 kB / 426.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.036e-05/0.3305, allocations: 47.36 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3305, allocations: 0 / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000144/0.3306, allocations: 77.59 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3306, allocations: 8.031 kB / 426.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3307, allocations: 0 / 426.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3307, allocations: 4 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.3307, allocations: 4.281 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3307, allocations: 4 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.3308, allocations: 0 / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3308, allocations: 7.984 kB / 426.9 MB, free: 10.61 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.0001138/0.3309, allocations: 121.7 kB / 427.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.331, allocations: 57.62 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.331, allocations: 12.34 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.331, allocations: 0 / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.331, allocations: 4 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.331, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3312, allocations: 144.7 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3312, allocations: 0 / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.3313, allocations: 15.92 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3313, allocations: 0 / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3313, allocations: 0 / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3313, allocations: 0 / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3313, allocations: 11.94 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.3315, allocations: 164.3 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.3315, allocations: 15.95 kB / 427.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3315, allocations: 0 / 427.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.3316, allocations: 7.922 kB / 427.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.3316, allocations: 4 kB / 427.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3316, allocations: 4 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.111e-05/0.3317, allocations: 103.3 kB / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3317, allocations: 0 / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3319, allocations: 4 kB / 427.6 MB, free: 9.867 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 9.77e-05/0.332, allocations: 99.17 kB / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3322, allocations: 31.92 kB / 427.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3322, allocations: 4.25 kB / 427.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.3322, allocations: 8 kB / 427.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3325, allocations: 30.98 kB / 427.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.3329, allocations: 149.3 kB / 427.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3333, allocations: 0.6922 MB / 428.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.3333, allocations: 64 / 428.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3334, allocations: 15.44 kB / 428.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3334, allocations: 0 / 428.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of Templates: time 0.003421/0.3368, allocations: 0.5122 MB / 429.1 MB, free: 8.273 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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: 4.833503774367273]