Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001768/0.001768, allocations: 89.92 kB / 20.69 MB, free: 1.02 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.002295/0.002295, allocations: 157.1 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.576e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002909/0.002935, allocations: 1.587 MB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.004095, allocations: 0.5024 MB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.004191, allocations: 5.281 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.004252, allocations: 5.203 kB / 327.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.004415, allocations: 15.52 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.004759, allocations: 56.61 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.004911, allocations: 43.5 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005019, allocations: 10.52 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005186, allocations: 39.33 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.005254, allocations: 17.36 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.00528, allocations: 2.469 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.005324, allocations: 6.141 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.005376, allocations: 19.11 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.005424, allocations: 11.44 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.005634, allocations: 57.03 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005638, allocations: 4 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.005639, allocations: 0 / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005643, allocations: 3.938 kB / 327.4 MB, free: 14.92 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.0005457/0.006189, allocations: 302.6 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.006231, allocations: 13.23 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.006407, allocations: 21.64 kB / 327.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.00669, allocations: 139.7 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.006706, allocations: 3.125 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.00672, allocations: 7.578 kB / 327.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.007034, allocations: 120.4 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007044, allocations: 192 / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.007053, allocations: 1.594 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00706, allocations: 4.812 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.007151, allocations: 24.36 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.007504, allocations: 210.9 kB / 328.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.00773, allocations: 69.61 kB / 328.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.007813, allocations: 31.84 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.007836, allocations: 2.25 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.007879, allocations: 36.19 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.00788, allocations: 1.156 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003128/0.008193, allocations: 83.64 kB / 328.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.008282, allocations: 79.91 kB / 328.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.008439, allocations: 141.2 kB / 328.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.00846, allocations: 27.27 kB / 328.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.008532, allocations: 88.98 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.008548, allocations: 3.953 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.008588, allocations: 16.31 kB / 328.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.008774, allocations: 320.3 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.008827, allocations: 9.844 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.008859, allocations: 9.062 kB / 329.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.944e-05/0.008938, allocations: 23.86 kB / 329.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00894, allocations: 0 / 329.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001365/0.009077, allocations: 49.3 kB / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.009097, allocations: 10.12 kB / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.009103, allocations: 0 / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.009123, allocations: 0 / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.009183, allocations: 5.688 kB / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009188, allocations: 0 / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.009222, allocations: 2.625 kB / 329.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.009233, allocations: 4.891 kB / 329.2 MB, free: 13.23 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 0.0001316/0.009365, allocations: 124.3 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.009459, allocations: 52.33 kB / 329.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.009514, allocations: 13.52 kB / 329.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.009517, allocations: 1.125 kB / 329.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.009523, allocations: 1.125 kB / 329.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.009529, allocations: 4.594 kB / 329.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.009697, allocations: 112.6 kB / 329.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.009699, allocations: 1.078 kB / 329.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.009759, allocations: 13.47 kB / 329.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.009768, allocations: 5.969 kB / 329.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.009779, allocations: 5.031 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.009781, allocations: 0 / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009782, allocations: 1.094 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.01001, allocations: 170.3 kB / 329.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.01005, allocations: 12.38 kB / 329.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01008, allocations: 9.359 kB / 329.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.01015, allocations: 2.922 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01018, allocations: 2.109 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01019, allocations: 5.125 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.01028, allocations: 115 kB / 329.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01028, allocations: 0.875 kB / 329.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000228/0.01051, allocations: 5.094 kB / 329.9 MB, free: 12.66 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.0001341/0.01064, allocations: 95.95 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.0108, allocations: 31.97 kB / 330 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.0108, allocations: 0 / 330 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.01084, allocations: 10.8 kB / 330 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.01118, allocations: 23.45 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.01156, allocations: 174.7 kB / 330.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01166, allocations: 76.97 kB / 330.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.01169, allocations: 7.422 kB / 330.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.01173, allocations: 14.73 kB / 330.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01173, allocations: 0 / 330.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.003349/0.01508, allocations: 0.5293 MB / 330.8 MB, free: 12.24 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.413049090653658]