Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 189.8 kB / 24.47 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 51.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2369, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002835/0.2398, allocations: 1.577 MB / 425.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000399/0.2402, allocations: 135.5 kB / 425.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.2403, allocations: 4 kB / 425.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.2403, allocations: 3.938 kB / 425.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2404, allocations: 15.86 kB / 425.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2407, allocations: 39.53 kB / 425.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2408, allocations: 35.86 kB / 425.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.2409, allocations: 15.97 kB / 425.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.2409, allocations: 11.94 kB / 425.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.2409, allocations: 15.92 kB / 425.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.241, allocations: 4 kB / 425.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.241, allocations: 4 kB / 425.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.241, allocations: 11.92 kB / 425.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2411, allocations: 23.81 kB / 425.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.2412, allocations: 53.02 kB / 425.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2412, allocations: 0 / 425.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2412, allocations: 0 / 425.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.2412, allocations: 0 / 425.8 MB, free: 12.74 MB / 334.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.0004284/0.2416, allocations: 294.1 kB / 426.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2416, allocations: 8.031 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2417, allocations: 12.83 kB / 426.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.2419, allocations: 137.6 kB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2419, allocations: 4.375 kB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2419, allocations: 8.375 kB / 426.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.2422, allocations: 117.5 kB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2422, allocations: 192 / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2422, allocations: 11.88 kB / 426.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2422, allocations: 4 kB / 426.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.2423, allocations: 15.92 kB / 426.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.2426, allocations: 228.9 kB / 426.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.2427, allocations: 69.08 kB / 426.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.2428, allocations: 29.77 kB / 426.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2428, allocations: 0 / 426.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2428, allocations: 34.55 kB / 426.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2428, allocations: 0 / 426.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002342/0.2431, allocations: 77.89 kB / 426.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.2431, allocations: 85.11 kB / 426.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2433, allocations: 134 kB / 427.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2433, allocations: 29.64 kB / 427.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.2433, allocations: 84.14 kB / 427.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.2433, allocations: 8 kB / 427.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.2434, allocations: 17.7 kB / 427.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2435, allocations: 314.9 kB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.2435, allocations: 11.98 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.2436, allocations: 35.42 kB / 427.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.482e-05/0.2437, allocations: 47.36 kB / 427.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2437, allocations: 4 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/0.2438, allocations: 69.5 kB / 427.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2438, allocations: 7.438 kB / 427.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2438, allocations: 4 kB / 427.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2438, allocations: 0 / 427.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.2439, allocations: 8 kB / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2439, allocations: 12.05 kB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.2439, allocations: 4 kB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2439, allocations: 0 / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.375e-05/0.244, allocations: 121.8 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.2441, allocations: 49.64 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.2441, allocations: 12.34 kB / 427.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2441, allocations: 0 / 427.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2441, allocations: 4 kB / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2441, allocations: 3.984 kB / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2443, allocations: 140.7 kB / 428 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2443, allocations: 3.938 kB / 428 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.2443, allocations: 11.98 kB / 428.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.2443, allocations: 0 / 428.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2444, allocations: 11.88 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2444, allocations: 0 / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2444, allocations: 0 / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.2445, allocations: 172.3 kB / 428.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2446, allocations: 15.94 kB / 428.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2446, allocations: 0 / 428.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.2446, allocations: 4 kB / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.2447, allocations: 0 / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2447, allocations: 0 / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.2447, allocations: 107.2 kB / 428.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2447, allocations: 0 / 428.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.245, allocations: 8 kB / 428.4 MB, free: 9.871 MB / 334.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 8.909e-05/0.245, allocations: 110.9 kB / 428.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.2452, allocations: 23.98 kB / 428.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2452, allocations: 0 / 428.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.2452, allocations: 11.92 kB / 428.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2455, allocations: 23.95 kB / 428.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.2458, allocations: 176.5 kB / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2461, allocations: 0.6922 MB / 429.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2462, allocations: 11.44 kB / 429.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2462, allocations: 0 / 429.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of Templates: time 0.00218/0.2484, allocations: 0.6942 MB / 430.1 MB, free: 8.07 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.829872449859977]