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.001958/0.001958, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.00216/0.00216, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 2.615e-06/2.615e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.004e-05/5.266e-05, allocations: 5.266 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.005225/0.005278, allocations: 1.6 MB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.006761, allocations: 0.5062 MB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.00688, allocations: 4 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.569e-05/0.006956, allocations: 3.938 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.00714, allocations: 11.92 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.007613, allocations: 55.7 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.007792, allocations: 43.84 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.00793, allocations: 11.98 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.008166, allocations: 39.78 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.008249, allocations: 23.91 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.00827, allocations: 0 / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.008318, allocations: 12 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.008375, allocations: 11.98 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.00842, allocations: 11.94 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.008615, allocations: 55.8 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.00862, allocations: 0 / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.008622, allocations: 0 / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008627, allocations: 0 / 274.6 MB, free: 15.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006533/0.00928, allocations: 298 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.009334, allocations: 19.97 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.009545, allocations: 20.84 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.009861, allocations: 149.5 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.009876, allocations: 4.375 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.009891, allocations: 8.375 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.01024, allocations: 113.5 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.01025, allocations: 192 / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.01026, allocations: 384 / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.01027, allocations: 11.94 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.01037, allocations: 23.92 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.01075, allocations: 205.5 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.01098, allocations: 61.14 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.01106, allocations: 29.77 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.01108, allocations: 0 / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.01112, allocations: 34.5 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.01112, allocations: 0 / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003037/0.01142, allocations: 93.73 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.01151, allocations: 77.11 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.01174, allocations: 145.4 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.01178, allocations: 25.7 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.01187, allocations: 84.14 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.01191, allocations: 15.89 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.01196, allocations: 9.719 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.01215, allocations: 322.8 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.655e-05/0.01219, allocations: 8.125 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.01223, allocations: 15.92 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.0123, allocations: 20.84 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01231, allocations: 3.938 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001218/0.01243, allocations: 53.64 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01245, allocations: 7.938 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01245, allocations: 0 / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01247, allocations: 0 / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.01252, allocations: 8.094 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01253, allocations: 0 / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.01256, allocations: 7.984 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.01257, allocations: 0 / 276.4 MB, free: 13.34 MB / 266.7 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.0001034/0.01267, allocations: 117.8 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/0.01276, allocations: 53.58 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.01281, allocations: 12.34 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01281, allocations: 0 / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.01282, allocations: 0 / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01282, allocations: 4 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.01304, allocations: 121.3 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01304, allocations: 0 / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.01309, allocations: 8 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0131, allocations: 0 / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01311, allocations: 11.92 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01311, allocations: 0 / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01312, allocations: 0 / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.01333, allocations: 168.3 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.01337, allocations: 15.95 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01339, allocations: 3.938 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.01346, allocations: 11.98 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.0135, allocations: 0 / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.01351, allocations: 4 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.822e-05/0.0136, allocations: 107.2 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0136, allocations: 0 / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.01383, allocations: 4 kB / 277.1 MB, free: 12.64 MB / 266.7 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.0001365/0.01397, allocations: 99.25 kB / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01413, allocations: 23.92 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01413, allocations: 4.062 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.01417, allocations: 7.984 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.01453, allocations: 31.77 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.01494, allocations: 176.2 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.01505, allocations: 75.33 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.341e-05/0.01508, allocations: 0 / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.01511, allocations: 12.5 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01511, allocations: 4.062 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.003665/0.01878, allocations: 0.5501 MB / 278 MB, free: 11.62 MB / 266.7 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.405368167092092]