Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001437/0.001437, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001593/0.001593, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.53/1.53, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.308e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003752/0.003785, allocations: 1.709 MB / 274 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005299/0.004315, allocations: 159.5 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.00441, allocations: 4 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.604e-05/0.004476, allocations: 7.875 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.004637, allocations: 11.92 kB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.00491, allocations: 47.66 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.00505, allocations: 59.83 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.005164, allocations: 19.98 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.005238, allocations: 27.92 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.005296, allocations: 19.97 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.005321, allocations: 4 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.005334, allocations: 4 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.005392, allocations: 15.92 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.005436, allocations: 23.91 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.005594, allocations: 71.66 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005597, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005598, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005603, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 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.0005537/0.006156, allocations: 321.9 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006192, allocations: 8.031 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.00625, allocations: 12.89 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.006522, allocations: 141.6 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.006542, allocations: 8.375 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.006557, allocations: 4.375 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.00702, allocations: 162.4 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.007034, allocations: 4.188 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.007049, allocations: 4.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007055, allocations: 384 / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.007188, allocations: 43.84 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.007645, allocations: 305.5 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.007935, allocations: 107.9 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.008057, allocations: 58.61 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.008085, allocations: 8 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.008117, allocations: 30.56 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.008118, allocations: 3.938 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003975/0.008515, allocations: 129.5 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.008619, allocations: 106.8 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.008784, allocations: 135.7 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.008808, allocations: 29.7 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.008892, allocations: 100.1 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.008909, allocations: 8.203 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.00895, allocations: 17.72 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.009125, allocations: 310.8 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.009168, allocations: 7.984 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.009217, allocations: 25.66 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.881e-05/0.009296, allocations: 29.7 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009297, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001323/0.00943, allocations: 65.61 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.009449, allocations: 7.938 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009454, allocations: 0 / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.009483, allocations: 4 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.009523, allocations: 4 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.009528, allocations: 0 / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.009559, allocations: 4 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.009568, allocations: 11.94 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001063/0.009674, allocations: 117.8 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.009822, allocations: 89.72 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.009862, allocations: 16.78 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.009867, allocations: 4 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.009871, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009875, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.01009, allocations: 121.2 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01009, allocations: 0 / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.031e-05/0.01017, allocations: 23.98 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01018, allocations: 0 / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01019, allocations: 7.938 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01019, allocations: 4 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01019, allocations: 0 / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.01065, allocations: 316.3 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.01069, allocations: 19.89 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.01071, allocations: 3.984 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01082, allocations: 8 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.01085, allocations: 0 / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01086, allocations: 7.938 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.404e-05/0.01095, allocations: 110.1 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01095, allocations: 4 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.01122, allocations: 8 kB / 277.5 MB, free: 12.29 MB / 266.7 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 0.0001324/0.01135, allocations: 99.19 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.01151, allocations: 35.98 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01151, allocations: 0 / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.01156, allocations: 15.92 kB / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.01201, allocations: 38.52 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.01246, allocations: 208.5 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01258, allocations: 87.27 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.01262, allocations: 7.984 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.01265, allocations: 8.5 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01265, allocations: 0 / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Templates: time 0.00372/0.01637, allocations: 0.6947 MB / 278.7 MB, free: 11.05 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.427860797033645]