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.001364/0.001364, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001429/0.001429, allocations: 193.6 kB / 23.71 MB, free: 4.406 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.462/1.462, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.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 0.001552/0.001552, allocations: 55.91 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2997, allocations: 52.17 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003677/0.3034, allocations: 1.833 MB / 424.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3048, allocations: 0.6428 MB / 425.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3049, allocations: 7.938 kB / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.305, allocations: 19.73 kB / 425.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.3052, allocations: 27.8 kB / 425.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3058, allocations: 147.7 kB / 425.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.306, allocations: 159.5 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.3062, allocations: 33.69 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3063, allocations: 59.77 kB / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3064, allocations: 55.7 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3065, allocations: 15.94 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3066, allocations: 51.95 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3067, allocations: 47.83 kB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.3068, allocations: 47.67 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.3071, allocations: 209.4 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3071, allocations: 0 / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3071, allocations: 0 / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3071, allocations: 0 / 426.4 MB, free: 11.12 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.0008092/0.3079, allocations: 405.5 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3079, allocations: 11.97 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.308, allocations: 24.8 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.3084, allocations: 183.2 kB / 427 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.3084, allocations: 8.562 kB / 427 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3084, allocations: 16.12 kB / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.3092, allocations: 356.1 kB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3092, allocations: 0 / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3092, allocations: 0 / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3092, allocations: 4 kB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.3095, allocations: 79.94 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.3099, allocations: 269.2 kB / 427.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.3104, allocations: 187.6 kB / 427.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3106, allocations: 89.73 kB / 428 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.3111, allocations: 59.94 kB / 428.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3111, allocations: 42.55 kB / 428.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.3111, allocations: 0 / 428.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006381/0.3117, allocations: 236.4 kB / 428.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3118, allocations: 114.8 kB / 428.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.312, allocations: 194.2 kB / 428.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3121, allocations: 33.7 kB / 428.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.3122, allocations: 104.5 kB / 428.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3122, allocations: 24.02 kB / 428.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.3123, allocations: 37.7 kB / 428.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3124, allocations: 326.8 kB / 429.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.3125, allocations: 47.91 kB / 429.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3127, allocations: 182.9 kB / 429.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.313, allocations: 208.1 kB / 429.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.313, allocations: 4 kB / 429.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003666/0.3134, allocations: 213.5 kB / 429.8 MB, free: 7.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3134, allocations: 11.94 kB / 429.8 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3134, allocations: 4 kB / 429.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3134, allocations: 8 kB / 429.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3136, allocations: 39.92 kB / 429.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3136, allocations: 7.984 kB / 429.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3137, allocations: 19.89 kB / 429.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3138, allocations: 12 kB / 429.9 MB, free: 7.285 MB / 334.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.0001728/0.3139, allocations: 161.3 kB / 430.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.3143, allocations: 165.4 kB / 430.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.3147, allocations: 179.3 kB / 430.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3147, allocations: 4 kB / 430.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3147, allocations: 0 / 430.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3147, allocations: 0 / 430.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3149, allocations: 157.1 kB / 430.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3149, allocations: 0 / 430.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.3151, allocations: 39.92 kB / 430.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3151, allocations: 3.984 kB / 430.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.3151, allocations: 7.938 kB / 430.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3151, allocations: 0 / 430.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3151, allocations: 0 / 430.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.3155, allocations: 282.8 kB / 430.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.3156, allocations: 43.8 kB / 430.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3157, allocations: 11.94 kB / 430.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3158, allocations: 15.98 kB / 430.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3158, allocations: 4 kB / 431 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3159, allocations: 4 kB / 431 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.316, allocations: 144.3 kB / 431.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.316, allocations: 3.938 kB / 431.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.3164, allocations: 35.94 kB / 431.1 MB, free: 5.98 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: 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.000201/0.3166, allocations: 111.2 kB / 431.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3169, allocations: 147.7 kB / 431.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3169, allocations: 0 / 431.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.317, allocations: 4 kB / 431.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.3176, allocations: 148.3 kB / 431.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.3183, allocations: 333.1 kB / 431.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.3185, allocations: 127.6 kB / 432 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.3185, allocations: 13.48 kB / 432 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.3186, allocations: 27.42 kB / 432 MB, free: 5.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3186, allocations: 0 / 432 MB, free: 5.02 MB / 334.1 MB Notification: Performance of Templates: time 0.007015/0.3256, allocations: 2.661 MB / 434.7 MB, free: 2.391 MB / 334.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.619362637400627]