Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.0009887/0.0009887, allocations: 75.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001165/0.001165, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 18.57 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.05/1.05, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.611e-05, allocations: 6.312 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002347/0.002373, allocations: 1.729 MB / 274.7 MB, free: 12 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.002787, allocations: 171.3 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.002875, allocations: 0 / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.212e-05/0.002928, allocations: 15.86 kB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.00306, allocations: 11.88 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.003282, allocations: 43.83 kB / 275 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.003384, allocations: 51.84 kB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.003501, allocations: 27.97 kB / 275.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.003562, allocations: 31.91 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.003611, allocations: 19.91 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.003634, allocations: 4 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.003645, allocations: 4 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.003695, allocations: 19.92 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.003722, allocations: 19.92 kB / 275.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003861, allocations: 55.69 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003864, allocations: 4 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003865, allocations: 0 / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.00387, allocations: 0 / 275.2 MB, free: 15.54 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.0004082/0.004278, allocations: 416.2 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.004317, allocations: 11.98 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.004362, allocations: 12.89 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.004571, allocations: 144.4 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.004581, allocations: 8.375 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.004593, allocations: 12.31 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.004876, allocations: 172.1 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.004882, allocations: 192 / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.004893, allocations: 8.375 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.0049, allocations: 384 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.004942, allocations: 23.86 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.005258, allocations: 422.2 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.005444, allocations: 117.3 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.005495, allocations: 47.17 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.005513, allocations: 4 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005534, allocations: 41.33 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.005535, allocations: 0 / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002016/0.005737, allocations: 101.4 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.00579, allocations: 106.8 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.005891, allocations: 194.2 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.0059, allocations: 29.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.00595, allocations: 134.9 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.00597, allocations: 11.94 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.005997, allocations: 27.33 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.006131, allocations: 492.1 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.006145, allocations: 0 / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.006164, allocations: 27.36 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.006197, allocations: 23.31 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.0062, allocations: 4.062 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.84e-05/0.006258, allocations: 45.64 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.006273, allocations: 7.938 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006277, allocations: 0 / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.006293, allocations: 0 / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.006337, allocations: 7.984 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.006347, allocations: 4 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.006362, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.006366, allocations: 0 / 277.8 MB, free: 12.64 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 6.31e-05/0.006429, allocations: 156.6 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.006502, allocations: 74.09 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.006536, allocations: 24.66 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.006539, allocations: 4 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.006544, allocations: 0 / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.006549, allocations: 3.984 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.006689, allocations: 132.6 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.00669, allocations: 0 / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.006733, allocations: 19.98 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006735, allocations: 0 / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.006743, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.006748, allocations: 8.016 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.006751, allocations: 3.984 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.007013, allocations: 398.2 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.007047, allocations: 27.81 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007059, allocations: 0 / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.007109, allocations: 8 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.007137, allocations: 0 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.007142, allocations: 4 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.007194, allocations: 150.2 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.007367, allocations: 16 kB / 278.8 MB, free: 11.55 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 7.624e-05/0.007444, allocations: 95.19 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.624e-05/0.00753, allocations: 31.67 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.007532, allocations: 0 / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.007545, allocations: 15.62 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.007868, allocations: 38.2 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.008179, allocations: 208.2 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.008226, allocations: 71.33 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.168e-05/0.008248, allocations: 3.938 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.008281, allocations: 12.5 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.008282, allocations: 0 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.002671/0.01095, allocations: 0.6777 MB / 280 MB, free: 10.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.734088005963713]