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.001304/0.001304, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001499/0.001499, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001645/0.001645, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2569, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003383/0.2602, allocations: 1.843 MB / 434.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2617, allocations: 0.7089 MB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2618, allocations: 7.938 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.262, allocations: 15.8 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.2621, allocations: 27.78 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.2627, allocations: 167.5 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.2629, allocations: 151.6 kB / 435.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.263, allocations: 45.38 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.2632, allocations: 63.77 kB / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2633, allocations: 55.64 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2633, allocations: 15.94 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.2635, allocations: 59.95 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.2635, allocations: 39.91 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.2636, allocations: 51.66 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.2639, allocations: 210.1 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2639, allocations: 0 / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2639, allocations: 0 / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2639, allocations: 0 / 435.8 MB, free: 3.27 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.0007372/0.2647, allocations: 409.5 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2647, allocations: 15.97 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2649, allocations: 28.78 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2653, allocations: 194.7 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2653, allocations: 4.562 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.2653, allocations: 20.12 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.266, allocations: 352 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.266, allocations: 4 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.266, allocations: 0 / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.266, allocations: 4 kB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.2663, allocations: 87.88 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.2667, allocations: 265.2 kB / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.2671, allocations: 177.3 kB / 437.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.2673, allocations: 96.73 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.2677, allocations: 59.94 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2677, allocations: 38.56 kB / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.2677, allocations: 0 / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.000601/0.2683, allocations: 245.2 kB / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2684, allocations: 110.8 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2686, allocations: 202.7 kB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2686, allocations: 25.7 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.2687, allocations: 104.6 kB / 438.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.2687, allocations: 19.89 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.2688, allocations: 41.7 kB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.269, allocations: 326.8 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.2691, allocations: 44.09 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.2693, allocations: 186.9 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.2695, allocations: 208.1 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2695, allocations: 0 / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003501/0.2699, allocations: 217.1 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2699, allocations: 15.5 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2699, allocations: 8 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.2699, allocations: 4 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2701, allocations: 39.92 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2701, allocations: 11.98 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2702, allocations: 19.89 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2702, allocations: 8 kB / 439.3 MB, free: 15.41 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.0001564/0.2704, allocations: 155.3 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.2707, allocations: 169.2 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.2711, allocations: 179.3 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2711, allocations: 0 / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2711, allocations: 4 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.2711, allocations: 3.984 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.2713, allocations: 149.2 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2713, allocations: 0 / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.2714, allocations: 39.91 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2714, allocations: 4 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2714, allocations: 3.938 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2714, allocations: 4 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2714, allocations: 4 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.2719, allocations: 284.2 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.272, allocations: 39.81 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.272, allocations: 7.938 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2721, allocations: 15.98 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.2722, allocations: 3.938 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.2722, allocations: 4 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.2723, allocations: 160 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2723, allocations: 0 / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.2726, allocations: 32 kB / 440.5 MB, free: 14.1 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.0001643/0.2728, allocations: 107.2 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.2731, allocations: 147.1 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2731, allocations: 0 / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.2732, allocations: 4 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.2738, allocations: 151.5 kB / 440.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.2744, allocations: 382.6 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2746, allocations: 127.8 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.2746, allocations: 15.44 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2746, allocations: 0 / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Templates: time 0.004604/0.2792, allocations: 2.307 MB / 443.8 MB, free: 10.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/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: 7.114182605873793]