Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 84.62 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 168.5 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.243e-05, allocations: 3.5 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002534/0.002556, allocations: 1.578 MB / 326.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.002964, allocations: 144.1 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.003043, allocations: 1.219 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/0.003097, allocations: 6.094 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.003231, allocations: 10.56 kB / 326.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.003472, allocations: 44.02 kB / 326.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.003571, allocations: 32.84 kB / 326.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.003666, allocations: 15.28 kB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.003716, allocations: 18.97 kB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.00376, allocations: 9.859 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.003778, allocations: 2.344 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.00379, allocations: 3.375 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.003836, allocations: 9.609 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.003871, allocations: 16.95 kB / 327 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003993, allocations: 45.5 kB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003996, allocations: 1.094 kB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003996, allocations: 0 / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004, allocations: 0 / 327 MB, free: 15.26 MB / 302.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.0004736/0.004474, allocations: 299.3 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.004509, allocations: 12.3 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.004548, allocations: 12.52 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.004735, allocations: 129.2 kB / 327.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004746, allocations: 4.375 kB / 327.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.004756, allocations: 2.531 kB / 327.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.00504, allocations: 116.1 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.00505, allocations: 4.125 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.00506, allocations: 6.125 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005064, allocations: 384 / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.005146, allocations: 23.06 kB / 327.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.005427, allocations: 204.9 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.005609, allocations: 61.88 kB / 327.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.005678, allocations: 31.47 kB / 327.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.005696, allocations: 5.609 kB / 327.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.00572, allocations: 32.23 kB / 327.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005721, allocations: 1.094 kB / 327.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002395/0.005961, allocations: 80.2 kB / 328 MB, free: 14.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.006031, allocations: 84.16 kB / 328.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.006157, allocations: 136.4 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.006172, allocations: 25.7 kB / 328.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.00623, allocations: 86.84 kB / 328.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.006241, allocations: 1.375 kB / 328.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.006274, allocations: 20.59 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.006409, allocations: 318.8 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.006444, allocations: 5.547 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.006469, allocations: 4.938 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/0.006533, allocations: 20.94 kB / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.006534, allocations: 0 / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.9e-05/0.006633, allocations: 45.55 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006645, allocations: 9.406 kB / 328.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.006652, allocations: 6.078 kB / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.006664, allocations: 0 / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.006707, allocations: 3.812 kB / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.006713, allocations: 4 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.006736, allocations: 7.016 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.006741, allocations: 0.9375 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.179e-05/0.006833, allocations: 117.1 kB / 328.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.006908, allocations: 46.72 kB / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.006946, allocations: 16.22 kB / 328.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.006948, allocations: 6.062 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.006953, allocations: 1.375 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006956, allocations: 0 / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.007098, allocations: 111.5 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.0071, allocations: 1.281 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.007151, allocations: 12.47 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007154, allocations: 1.062 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.007161, allocations: 1.719 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.007166, allocations: 4.906 kB / 329.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007167, allocations: 0 / 329.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.007352, allocations: 172.2 kB / 329.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.007389, allocations: 15.98 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.007404, allocations: 2.234 kB / 329.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.007467, allocations: 5.969 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.007489, allocations: 2.516 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.007492, allocations: 1.469 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.007573, allocations: 104.1 kB / 329.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.007573, allocations: 0 / 329.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.007793, allocations: 3.625 kB / 329.4 MB, free: 13.03 MB / 302.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.0001072/0.007901, allocations: 110.8 kB / 329.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.008022, allocations: 18.52 kB / 329.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008023, allocations: 0 / 329.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.008061, allocations: 10.55 kB / 329.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.008379, allocations: 21.64 kB / 329.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.008686, allocations: 151.9 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.643e-05/0.008762, allocations: 75.98 kB / 329.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.082e-05/0.008783, allocations: 7.562 kB / 329.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.008807, allocations: 9.484 kB / 329.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.008808, allocations: 0 / 329.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Templates: time 0.00302/0.01183, allocations: 0.5102 MB / 330.3 MB, free: 12.61 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.38946133852005]