Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 59.91 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3046, allocations: 53.37 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003678/0.3083, allocations: 1.9 MB / 434 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3099, allocations: 0.7594 MB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3101, allocations: 7.938 kB / 434.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.3103, allocations: 19.8 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3104, allocations: 35.72 kB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.3111, allocations: 167.5 kB / 435 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3113, allocations: 155.5 kB / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3115, allocations: 37.72 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3117, allocations: 67.7 kB / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3118, allocations: 59.7 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.3118, allocations: 12 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.312, allocations: 59.95 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3121, allocations: 43.84 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3122, allocations: 75.47 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.3127, allocations: 204.9 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3127, allocations: 0 / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3127, allocations: 0 / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3127, allocations: 0 / 435.7 MB, free: 3.492 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.001017/0.3137, allocations: 409.6 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3138, allocations: 8.031 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.314, allocations: 32.78 kB / 436.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.3145, allocations: 202.6 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3145, allocations: 4.562 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.3145, allocations: 12.12 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.3153, allocations: 336.7 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3153, allocations: 0 / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.3153, allocations: 0 / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.3153, allocations: 7.938 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.3156, allocations: 79.94 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.3162, allocations: 320.6 kB / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.3168, allocations: 177 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.317, allocations: 93.23 kB / 437.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.3175, allocations: 72.12 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3175, allocations: 38.5 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 2.335e-06/0.3175, allocations: 0 / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007778/0.3183, allocations: 237.3 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3184, allocations: 122.7 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.3187, allocations: 186.8 kB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3187, allocations: 29.7 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.3188, allocations: 100.6 kB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.3189, allocations: 20.02 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.3189, allocations: 45.7 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3191, allocations: 326.8 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.3192, allocations: 43.97 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3194, allocations: 168.6 kB / 438.7 MB, free: 216 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.3197, allocations: 204.1 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3197, allocations: 0 / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003759/0.3201, allocations: 217.7 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3201, allocations: 8 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3201, allocations: 4 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3201, allocations: 4 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3203, allocations: 47.91 kB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.3203, allocations: 11.94 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3204, allocations: 23.83 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3205, allocations: 12 kB / 439.2 MB, free: 15.62 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.0001875/0.3206, allocations: 153.7 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.321, allocations: 164.1 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.3214, allocations: 179.3 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3214, allocations: 0 / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3214, allocations: 11.92 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3214, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3217, allocations: 200.5 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3217, allocations: 3.938 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3219, allocations: 31.98 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3219, allocations: 4 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3219, allocations: 7.984 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3219, allocations: 0 / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3219, allocations: 0 / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.3224, allocations: 288.1 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3225, allocations: 43.75 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.3225, allocations: 8 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3227, allocations: 7.984 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.3227, allocations: 8 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3227, allocations: 4 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.3229, allocations: 152 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 0 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.3232, allocations: 32 kB / 440.5 MB, free: 14.27 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.0001962/0.3234, allocations: 115.2 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.3238, allocations: 148.5 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3238, allocations: 256 / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.3239, allocations: 8 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.3245, allocations: 149.5 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.3253, allocations: 332.9 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3257, allocations: 0.7362 MB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.3258, allocations: 13.48 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.3258, allocations: 23.36 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3258, allocations: 0 / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of Templates: time 0.006797/0.3326, allocations: 2.496 MB / 444.5 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.004361410625279]