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.001413/0.001413, allocations: 111.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.001601/0.001601, allocations: 205.9 kB / 23.73 MB, free: 4.492 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001511/0.001511, allocations: 43.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.312, allocations: 53.38 MB / 431.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003883/0.3159, allocations: 1.835 MB / 433.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3176, allocations: 0.705 MB / 434.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.3178, allocations: 7.938 kB / 434.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.3179, allocations: 19.78 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.3181, allocations: 31.78 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.3188, allocations: 163.2 kB / 434.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.3192, allocations: 163.5 kB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.3194, allocations: 33.72 kB / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.3196, allocations: 67.77 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3198, allocations: 51.64 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3198, allocations: 12 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.32, allocations: 55.97 kB / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3201, allocations: 43.84 kB / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.3202, allocations: 59.64 kB / 434.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.3205, allocations: 205.4 kB / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3206, allocations: 0 / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3206, allocations: 4 kB / 435 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3206, allocations: 4 kB / 435 MB, free: 3.223 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001062/0.3216, allocations: 412.3 kB / 435.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3217, allocations: 8.031 kB / 435.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.3219, allocations: 28.8 kB / 435.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.3224, allocations: 194.7 kB / 435.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3224, allocations: 8.562 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.3224, allocations: 12.12 kB / 435.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.3234, allocations: 359.9 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3234, allocations: 0 / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.3234, allocations: 4 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.3234, allocations: 0 / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.3237, allocations: 87.88 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.3243, allocations: 265.2 kB / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.3249, allocations: 189 kB / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.3251, allocations: 89.73 kB / 436.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.3255, allocations: 59.94 kB / 436.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3255, allocations: 30.56 kB / 436.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.3255, allocations: 4 kB / 436.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006587/0.3262, allocations: 241.3 kB / 437 MB, free: 1.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3263, allocations: 117.1 kB / 437.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3266, allocations: 198.7 kB / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3266, allocations: 33.7 kB / 437.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.3267, allocations: 100.6 kB / 437.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.3267, allocations: 19.89 kB / 437.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.3268, allocations: 41.84 kB / 437.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.327, allocations: 330.8 kB / 437.8 MB, free: 244 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.3271, allocations: 39.97 kB / 437.8 MB, free: 204 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3273, allocations: 182.9 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.3276, allocations: 212 kB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.3276, allocations: 4 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003682/0.328, allocations: 217.6 kB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.328, allocations: 7.938 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.328, allocations: 4 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.328, allocations: 8 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3282, allocations: 43.92 kB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.3282, allocations: 11.97 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3283, allocations: 19.89 kB / 438.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3283, allocations: 16 kB / 438.6 MB, free: 15.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (22): * Single equations (assignments): 22 * 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.000232/0.3286, allocations: 151.3 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.3289, allocations: 169.5 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.3293, allocations: 179.3 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3293, allocations: 0 / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3293, allocations: 0 / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3293, allocations: 4 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3295, allocations: 153.2 kB / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3295, allocations: 0 / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3297, allocations: 31.92 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.3297, allocations: 11.98 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3297, allocations: 7.938 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3297, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3297, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.3302, allocations: 291.2 kB / 439.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.3303, allocations: 39.81 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.3303, allocations: 7.938 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3305, allocations: 15.98 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3305, allocations: 7.938 kB / 439.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3305, allocations: 4 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3307, allocations: 152 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3307, allocations: 0 / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.331, allocations: 35.98 kB / 439.8 MB, free: 14.05 MB / 350.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.0001825/0.3312, allocations: 107.2 kB / 439.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3316, allocations: 144 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3316, allocations: 4 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.3316, allocations: 8 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.3323, allocations: 137.6 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.333, allocations: 341.9 kB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.3332, allocations: 131.5 kB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.3333, allocations: 13.48 kB / 440.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.3333, allocations: 19.44 kB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3333, allocations: 4 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.00702/0.3403, allocations: 2.682 MB / 443.4 MB, free: 10.45 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.592603722587228]