Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 163.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9823/0.9823, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.834e-05, allocations: 6.25 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004856/0.004884, allocations: 1.899 MB / 275 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00592, allocations: 0.7202 MB / 275.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.00604, allocations: 3.938 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.00619, allocations: 27.73 kB / 275.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.006339, allocations: 27.8 kB / 275.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.006852, allocations: 171.4 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.007053, allocations: 155.5 kB / 276.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.007178, allocations: 33.78 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.007339, allocations: 83.8 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.007428, allocations: 47.81 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.007452, allocations: 16 kB / 276.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.007539, allocations: 51.97 kB / 276.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.007611, allocations: 43.83 kB / 276.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.007661, allocations: 43.84 kB / 276.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.007871, allocations: 151.4 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007874, allocations: 0 / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007875, allocations: 0 / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.00788, allocations: 0 / 276.5 MB, free: 14.34 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005877/0.008468, allocations: 0.4959 MB / 277 MB, free: 13.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.008505, allocations: 12.03 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.008644, allocations: 36.8 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.008909, allocations: 192.4 kB / 277.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.008935, allocations: 8.562 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.008952, allocations: 4.375 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.009386, allocations: 292.4 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.009395, allocations: 3.938 kB / 277.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.009408, allocations: 4 kB / 277.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.009419, allocations: 7.984 kB / 277.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.009483, allocations: 30.62 kB / 277.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.0098, allocations: 323.3 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.01004, allocations: 140.4 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.01011, allocations: 63.69 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.01035, allocations: 63.88 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.01037, allocations: 37.39 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.01037, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002662/0.01064, allocations: 161.3 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.0107, allocations: 110.8 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.01085, allocations: 245.4 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.01087, allocations: 29.7 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.01093, allocations: 151.4 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.01095, allocations: 7.953 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.01099, allocations: 35.31 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01111, allocations: 0.5 MB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.01113, allocations: 4 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.01118, allocations: 80.25 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.01122, allocations: 54.72 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01123, allocations: 0 / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.518e-05/0.01131, allocations: 77.52 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.01132, allocations: 4 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01133, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01134, allocations: 12.12 kB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.0114, allocations: 11.98 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.0114, allocations: 4.156 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.01144, allocations: 11.89 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.01145, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 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 8.961e-05/0.01154, allocations: 179.7 kB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.01166, allocations: 111.9 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01182, allocations: 135.3 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01182, allocations: 0 / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01183, allocations: 4 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01183, allocations: 3.984 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01196, allocations: 164.5 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01197, allocations: 0 / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.01204, allocations: 31.92 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01204, allocations: 0 / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01205, allocations: 7.984 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01205, allocations: 4 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01206, allocations: 0 / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01224, allocations: 287.3 kB / 280.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.01229, allocations: 35.83 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01232, allocations: 12 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.01237, allocations: 11.98 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.0124, allocations: 4 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.01241, allocations: 4 kB / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.0125, allocations: 172.4 kB / 280.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0125, allocations: 3.938 kB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.01268, allocations: 24 kB / 280.9 MB, free: 9.629 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: 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.000145/0.01282, allocations: 119.2 kB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01295, allocations: 63.53 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01295, allocations: 0 / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.01296, allocations: 7.688 kB / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.01331, allocations: 125.4 kB / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.01386, allocations: 302.9 kB / 281.5 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.0139, allocations: 80.38 kB / 281.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.01394, allocations: 21.14 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.01397, allocations: 20.5 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01397, allocations: 0 / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of Templates: time 0.004455/0.01842, allocations: 2.447 MB / 284 MB, free: 6.402 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8808912318199873]