Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001333/0.001333, allocations: 89.3 kB / 20.68 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.001439/0.001439, allocations: 158.6 kB / 23.95 MB, free: 4.148 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.449/1.449, allocations: 177 MB / 204.1 MB, free: 9.148 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.11e-05, allocations: 3.375 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002513/0.002534, allocations: 1.566 MB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.002955, allocations: 144.2 kB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.003029, allocations: 5 kB / 326.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.003077, allocations: 5.297 kB / 326.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003197, allocations: 7.422 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.003415, allocations: 37.45 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.003516, allocations: 36.83 kB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.003613, allocations: 11.05 kB / 326.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.003664, allocations: 17.83 kB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.003706, allocations: 14.38 kB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.003725, allocations: 7.531 kB / 326.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.003737, allocations: 2.281 kB / 326.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.003788, allocations: 14.11 kB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.003817, allocations: 5.328 kB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.00393, allocations: 49.72 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003932, allocations: 0 / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003932, allocations: 0 / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.003936, allocations: 3.812 kB / 327 MB, free: 15.21 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.0004745/0.00441, allocations: 292.3 kB / 327.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.004443, allocations: 13.55 kB / 327.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.004472, allocations: 8.109 kB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.004686, allocations: 138.2 kB / 327.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004697, allocations: 1.5 kB / 327.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.004707, allocations: 3.656 kB / 327.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.004994, allocations: 115.5 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.005003, allocations: 192 / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005011, allocations: 1.438 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.00502, allocations: 5.469 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.005109, allocations: 31.55 kB / 327.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.00539, allocations: 208.3 kB / 327.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.005589, allocations: 62.08 kB / 327.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.005657, allocations: 30.98 kB / 327.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.005675, allocations: 2.516 kB / 327.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.005702, allocations: 33.08 kB / 327.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.146e-06/0.005705, allocations: 4 kB / 327.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.00596, allocations: 79.61 kB / 328 MB, free: 14.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.006023, allocations: 83.91 kB / 328 MB, free: 14.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.006145, allocations: 129.1 kB / 328.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.006172, allocations: 29.7 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.006224, allocations: 84.19 kB / 328.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.006238, allocations: 4 kB / 328.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006272, allocations: 16.42 kB / 328.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.006426, allocations: 315.6 kB / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.006463, allocations: 8.328 kB / 328.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.006491, allocations: 9.594 kB / 328.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.006555, allocations: 20.98 kB / 328.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006556, allocations: 0 / 328.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.958e-05/0.006656, allocations: 46.83 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006668, allocations: 4.344 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.006674, allocations: 5 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.006688, allocations: 4.781 kB / 328.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.97e-05/0.006728, allocations: 8.266 kB / 328.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.006738, allocations: 3.984 kB / 328.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.006762, allocations: 2.719 kB / 328.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.006766, allocations: 1.438 kB / 328.7 MB, free: 13.54 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 8.49e-05/0.006851, allocations: 111.9 kB / 328.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.006929, allocations: 51.64 kB / 328.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.006967, allocations: 17.58 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.006969, allocations: 1 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006972, allocations: 0 / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006975, allocations: 9.844 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.007137, allocations: 115.2 kB / 329 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007138, allocations: 0 / 329 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.007184, allocations: 9.453 kB / 329 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007186, allocations: 1.344 kB / 329 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.007193, allocations: 0.9375 kB / 329 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.007198, allocations: 5.344 kB / 329 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007199, allocations: 0 / 329 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.007395, allocations: 166.9 kB / 329.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.007428, allocations: 13.69 kB / 329.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.007443, allocations: 10.64 kB / 329.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.168e-05/0.007505, allocations: 5.922 kB / 329.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.007532, allocations: 2.172 kB / 329.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.007536, allocations: 1.812 kB / 329.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.007614, allocations: 106 kB / 329.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007614, allocations: 0 / 329.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000216/0.00783, allocations: 4.344 kB / 329.3 MB, free: 12.97 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 9.335e-05/0.007923, allocations: 97.8 kB / 329.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.008045, allocations: 33.91 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008046, allocations: 0 / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.008081, allocations: 6.25 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.008395, allocations: 22.53 kB / 329.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.008694, allocations: 152.1 kB / 329.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.571e-05/0.00877, allocations: 75.59 kB / 329.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.008789, allocations: 1.031 kB / 329.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.008817, allocations: 11.89 kB / 329.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.008817, allocations: 7.938 kB / 329.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Templates: time 0.002995/0.01181, allocations: 0.5052 MB / 330.2 MB, free: 12.55 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.173141736537218]