Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001697/0.001697, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002175/0.002175, allocations: 187.5 kB / 23.71 MB, free: 4.434 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.536/1.536, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2743, allocations: 52.17 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003199/0.2775, allocations: 1.699 MB / 424.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005337/0.278, allocations: 159.5 kB / 424.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.2781, allocations: 7.938 kB / 424.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.2781, allocations: 3.938 kB / 424.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2783, allocations: 15.86 kB / 424.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2785, allocations: 46.89 kB / 425 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2786, allocations: 51.8 kB / 425 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2787, allocations: 23.92 kB / 425.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.2788, allocations: 27.91 kB / 425.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.2788, allocations: 27.8 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.2789, allocations: 4 kB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.2789, allocations: 8 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.2789, allocations: 15.92 kB / 425.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.279, allocations: 19.86 kB / 425.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2791, allocations: 77.86 kB / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2791, allocations: 0 / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2791, allocations: 0 / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2791, allocations: 0 / 425.2 MB, free: 12.33 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004873/0.2796, allocations: 313.9 kB / 425.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2796, allocations: 8.031 kB / 425.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.2797, allocations: 20.84 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.2799, allocations: 144.5 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.2799, allocations: 384 / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2799, allocations: 8.375 kB / 425.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.2803, allocations: 174.2 kB / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2803, allocations: 4.188 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2803, allocations: 3.938 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2803, allocations: 7.984 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2804, allocations: 31.98 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.2808, allocations: 305.5 kB / 426.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.281, allocations: 107.8 kB / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2811, allocations: 54.62 kB / 426.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2812, allocations: 11.94 kB / 426.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2812, allocations: 38.56 kB / 426.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.2812, allocations: 0 / 426.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003462/0.2815, allocations: 125.6 kB / 426.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.2816, allocations: 110.8 kB / 426.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2818, allocations: 141.8 kB / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2818, allocations: 25.7 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.2818, allocations: 84.14 kB / 426.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2818, allocations: 15.94 kB / 426.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2819, allocations: 21.97 kB / 427 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.282, allocations: 322.8 kB / 427.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.2821, allocations: 16 kB / 427.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.2821, allocations: 63.72 kB / 427.4 MB, free: 9.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2823, allocations: 99.58 kB / 427.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2823, allocations: 4 kB / 427.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.2825, allocations: 105.4 kB / 427.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2825, allocations: 11.28 kB / 427.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2825, allocations: 288 / 427.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.2825, allocations: 8 kB / 427.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.2826, allocations: 23.92 kB / 427.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.2826, allocations: 0 / 427.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.2826, allocations: 11.94 kB / 427.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2826, allocations: 4 kB / 427.6 MB, free: 9.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 prepare postOptimizeDAE: time 0.0001044/0.2827, allocations: 129.7 kB / 427.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2829, allocations: 77.59 kB / 427.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.2829, allocations: 16.72 kB / 427.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2829, allocations: 0 / 427.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2829, allocations: 7.938 kB / 427.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2829, allocations: 4 kB / 427.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.2831, allocations: 121.2 kB / 428 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2831, allocations: 3.938 kB / 428 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.2832, allocations: 23.98 kB / 428 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2832, allocations: 192 / 428 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2832, allocations: 4 kB / 428 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2832, allocations: 8.266 kB / 428 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2832, allocations: 0 / 428 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.2836, allocations: 312.3 kB / 428.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.2836, allocations: 23.89 kB / 428.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2837, allocations: 7.984 kB / 428.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2838, allocations: 7.938 kB / 428.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2838, allocations: 0 / 428.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.2838, allocations: 11.94 kB / 428.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.577e-05/0.2839, allocations: 107.2 kB / 428.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 0 / 428.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.2841, allocations: 12 kB / 428.5 MB, free: 8.734 MB / 334.1 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 9.839e-05/0.2842, allocations: 99.25 kB / 428.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.2844, allocations: 63.84 kB / 428.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2844, allocations: 0 / 428.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.2845, allocations: 4 kB / 428.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.2849, allocations: 58.66 kB / 428.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.2853, allocations: 200.9 kB / 428.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.2854, allocations: 87.31 kB / 429 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.2854, allocations: 4.672 kB / 429 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.2855, allocations: 11.44 kB / 429 MB, free: 8.156 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2855, allocations: 0 / 429 MB, free: 8.156 MB / 334.1 MB Notification: Performance of Templates: time 0.003353/0.2888, allocations: 0.7936 MB / 429.8 MB, free: 7.383 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.661892523989081]