Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001692/0.001692, allocations: 82.36 kB / 20.68 MB, free: 1.023 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.00157/0.00157, allocations: 145.4 kB / 23.94 MB, free: 4.156 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.482/1.482, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 1.156 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.995e-05, allocations: 2.984 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003121/0.003151, allocations: 1.818 MB / 320.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.004538, allocations: 0.6519 MB / 321.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.004718, allocations: 6.812 kB / 321.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.004874, allocations: 26.12 kB / 321.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.005059, allocations: 26.86 kB / 321.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.005709, allocations: 158.2 kB / 321.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.005987, allocations: 150.9 kB / 321.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.006136, allocations: 43.73 kB / 321.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.006316, allocations: 80.58 kB / 321.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.006436, allocations: 49.94 kB / 321.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.006475, allocations: 12.56 kB / 321.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.006599, allocations: 50.61 kB / 322 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.006691, allocations: 42.36 kB / 322 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.006759, allocations: 45.72 kB / 322.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.007115, allocations: 210.8 kB / 322.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007118, allocations: 1.062 kB / 322.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007119, allocations: 0 / 322.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.007127, allocations: 0 / 322.3 MB, free: 1.465 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007789/0.007906, allocations: 406.9 kB / 322.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.007942, allocations: 9.422 kB / 322.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.008005, allocations: 21.55 kB / 322.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.008276, allocations: 190.1 kB / 322.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.008298, allocations: 8.625 kB / 322.9 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.008322, allocations: 9.5 kB / 322.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.009016, allocations: 349.4 kB / 323.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.009029, allocations: 0 / 323.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.009047, allocations: 5.609 kB / 323.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.009055, allocations: 6.031 kB / 323.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.009315, allocations: 93.17 kB / 323.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.009688, allocations: 267.6 kB / 323.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.01015, allocations: 178.2 kB / 323.8 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.01034, allocations: 86.73 kB / 323.9 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/0.01075, allocations: 64.08 kB / 323.9 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.01077, allocations: 41.14 kB / 324 MB, free: 284 kB / 286.1 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.01077, allocations: 0 / 324 MB, free: 284 kB / 286.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006209/0.01139, allocations: 233 kB / 324.2 MB, free: 188 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.01145, allocations: 118.3 kB / 324.3 MB, free: 52 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.01167, allocations: 191.4 kB / 324.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01169, allocations: 27.08 kB / 324.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.01177, allocations: 105.6 kB / 324.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.0118, allocations: 16.61 kB / 324.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.01185, allocations: 22.47 kB / 324.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.01201, allocations: 329.1 kB / 325 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.01208, allocations: 22.86 kB / 325 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.01219, allocations: 86.25 kB / 325.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.01232, allocations: 71.31 kB / 325.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01233, allocations: 1.375 kB / 325.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002236/0.01255, allocations: 113.5 kB / 325.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01256, allocations: 5.5 kB / 325.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01257, allocations: 4.125 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01259, allocations: 7.391 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.01268, allocations: 16.92 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01268, allocations: 1.312 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.28e-05/0.01276, allocations: 5.391 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01276, allocations: 3.266 kB / 325.3 MB, free: 15.23 MB / 302.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: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001541/0.01292, allocations: 142.7 kB / 325.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.01326, allocations: 167.7 kB / 325.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.01366, allocations: 178 kB / 325.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.01366, allocations: 2.906 kB / 325.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01367, allocations: 0 / 325.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01367, allocations: 1.938 kB / 325.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01388, allocations: 155.9 kB / 326 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.01389, allocations: 5.031 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.01404, allocations: 34.06 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01405, allocations: 1.062 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01406, allocations: 3.203 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01407, allocations: 5.953 kB / 326 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01407, allocations: 0 / 326 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.01453, allocations: 285.4 kB / 326.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.01466, allocations: 42.38 kB / 326.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.01471, allocations: 12.45 kB / 326.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.01486, allocations: 12.72 kB / 326.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.01489, allocations: 3.016 kB / 326.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.01491, allocations: 3.875 kB / 326.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.01506, allocations: 152.3 kB / 326.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01506, allocations: 0 / 326.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.01536, allocations: 26.28 kB / 326.5 MB, free: 14.44 MB / 302.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002029/0.01556, allocations: 125 kB / 326.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.01587, allocations: 97.77 kB / 326.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01587, allocations: 0 / 326.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.01591, allocations: 12.52 kB / 326.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.01663, allocations: 146.9 kB / 326.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.01735, allocations: 321 kB / 327.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.01749, allocations: 120.6 kB / 327.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.408e-05/0.01755, allocations: 15.3 kB / 327.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.0176, allocations: 20.45 kB / 327.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.0176, allocations: 0 / 327.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Templates: time 0.007684/0.02528, allocations: 2.414 MB / 329.8 MB, free: 13.46 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.546320326626301]