Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001618/0.001618, 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.002387/0.002387, allocations: 184.7 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.531/1.531, allocations: 225.7 MB / 252.5 MB, free: 12.88 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 43.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.311, allocations: 52.18 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003664/0.3147, allocations: 1.573 MB / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3157, allocations: 434.9 kB / 425.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.3158, allocations: 3.938 kB / 425.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/0.3159, allocations: 7.938 kB / 425.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.316, allocations: 15.86 kB / 425.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.3163, allocations: 43.89 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3164, allocations: 35.86 kB / 425.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3165, allocations: 11.94 kB / 425.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.3166, allocations: 19.91 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.3167, allocations: 15.92 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3167, allocations: 0 / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.3167, allocations: 4 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3168, allocations: 11.94 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.3168, allocations: 23.86 kB / 425.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.317, allocations: 53.94 kB / 425.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.317, allocations: 0 / 425.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.317, allocations: 4 kB / 425.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.317, allocations: 0 / 425.3 MB, free: 12.26 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005215/0.3175, allocations: 294 kB / 425.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3175, allocations: 8.031 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3176, allocations: 8.891 kB / 425.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.3179, allocations: 130.4 kB / 425.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3179, allocations: 8.312 kB / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3179, allocations: 384 / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3182, allocations: 101.3 kB / 425.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3182, allocations: 0 / 425.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3182, allocations: 0 / 425.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3182, allocations: 0 / 425.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.3183, allocations: 19.92 kB / 425.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.3186, allocations: 205.5 kB / 426.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3189, allocations: 57.09 kB / 426.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.3189, allocations: 17.77 kB / 426.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3189, allocations: 3.984 kB / 426.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.319, allocations: 34.56 kB / 426.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.319, allocations: 0 / 426.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002639/0.3192, allocations: 73.56 kB / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.3193, allocations: 77.11 kB / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3194, allocations: 141.4 kB / 426.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3195, allocations: 25.7 kB / 426.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.3195, allocations: 92.12 kB / 426.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3195, allocations: 7.922 kB / 426.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3196, allocations: 21.67 kB / 426.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3197, allocations: 314.8 kB / 426.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.3198, allocations: 4 kB / 426.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.3198, allocations: 37.58 kB / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.3199, allocations: 29.78 kB / 427 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3199, allocations: 7.922 kB / 427 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.3201, allocations: 53.62 kB / 427 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3201, allocations: 4 kB / 427.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3201, allocations: 0 / 427.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.3201, allocations: 4 kB / 427.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.3202, allocations: 4 kB / 427.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3202, allocations: 3.984 kB / 427.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.3202, allocations: 4.062 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3202, allocations: 4 kB / 427.1 MB, free: 10.29 MB / 334.1 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 0.0001081/0.3204, allocations: 117.8 kB / 427.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.3204, allocations: 41.64 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.3205, allocations: 11.75 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3205, allocations: 7.938 kB / 427.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3205, allocations: 0 / 427.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3205, allocations: 0 / 427.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3206, allocations: 113.2 kB / 427.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3206, allocations: 0 / 427.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.3207, allocations: 16.02 kB / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3207, allocations: 0 / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3207, allocations: 0 / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3207, allocations: 0 / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3207, allocations: 0 / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3209, allocations: 164.3 kB / 427.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.321, allocations: 15.95 kB / 427.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.321, allocations: 3.984 kB / 427.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.321, allocations: 0 / 427.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.3211, allocations: 11.97 kB / 427.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3211, allocations: 0 / 427.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3212, allocations: 107.2 kB / 427.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3212, allocations: 0 / 427.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.3214, allocations: 4 kB / 427.7 MB, free: 9.621 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 (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 Backend phase and start with SimCode phase: time 0.0001375/0.3216, allocations: 95.25 kB / 427.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3217, allocations: 19.98 kB / 427.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3217, allocations: 0 / 427.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.3218, allocations: 20.05 kB / 427.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3221, allocations: 15.97 kB / 427.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.3225, allocations: 155.7 kB / 428 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3226, allocations: 75.44 kB / 428 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.3227, allocations: 4 kB / 428.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.3227, allocations: 11.44 kB / 428.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3227, allocations: 160 / 428.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of Templates: time 0.003413/0.3261, allocations: 0.5293 MB / 428.6 MB, free: 8.652 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.641636019572616]