Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001532/0.001532, allocations: 114 kB / 21.17 MB, free: 0.6133 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.001687/0.001687, allocations: 209.5 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 53.31 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00292/0.2752, allocations: 1.54 MB / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004002/0.2756, allocations: 139.5 kB / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.2757, allocations: 0 / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-05/0.2757, allocations: 7.922 kB / 433.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.2758, allocations: 3.938 kB / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.2761, allocations: 39.84 kB / 433.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2762, allocations: 39.84 kB / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2763, allocations: 15.98 kB / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.2763, allocations: 15.92 kB / 433.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.2764, allocations: 7.938 kB / 433.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2764, allocations: 4 kB / 433.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.2764, allocations: 4 kB / 433.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.2765, allocations: 15.92 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.2765, allocations: 23.81 kB / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2766, allocations: 49.72 kB / 433.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2766, allocations: 0 / 433.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2766, allocations: 3.938 kB / 433.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2766, allocations: 0 / 433.9 MB, free: 5.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005085/0.2771, allocations: 371.2 kB / 434.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2772, allocations: 8.031 kB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2772, allocations: 8.891 kB / 434.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2775, allocations: 198.8 kB / 434.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2775, allocations: 384 / 434.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2775, allocations: 4.375 kB / 434.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.2778, allocations: 117.6 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2778, allocations: 192 / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2778, allocations: 3.938 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2778, allocations: 7.938 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.2779, allocations: 23.91 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.2782, allocations: 257.8 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2784, allocations: 138.2 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.2785, allocations: 29.77 kB / 435.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2785, allocations: 4 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2786, allocations: 42.55 kB / 435.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2786, allocations: 0 / 435.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.2788, allocations: 77.56 kB / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.2789, allocations: 77.11 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.279, allocations: 134.1 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.279, allocations: 29.83 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.2791, allocations: 88.12 kB / 435.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.2791, allocations: 15.88 kB / 435.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.2791, allocations: 21.66 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2793, allocations: 314.8 kB / 435.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.2793, allocations: 11.98 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.2794, allocations: 35.42 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.2795, allocations: 43.36 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2795, allocations: 4 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.2796, allocations: 65.56 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2796, allocations: 4 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2796, allocations: 4 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2796, allocations: 0 / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.2797, allocations: 11.98 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2797, allocations: 3.938 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.2797, allocations: 7.953 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2797, allocations: 3.938 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001104/0.2798, allocations: 125.9 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.2799, allocations: 49.95 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2799, allocations: 8.25 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2799, allocations: 7.984 kB / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2799, allocations: 0 / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.28, allocations: 0 / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.2801, allocations: 177.5 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2801, allocations: 0 / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.2802, allocations: 8 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2802, allocations: 0 / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2802, allocations: 8 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2802, allocations: 3.938 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2802, allocations: 0 / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2804, allocations: 168.3 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.2805, allocations: 89.09 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.2805, allocations: 0 / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.2805, allocations: 4 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.2806, allocations: 7.984 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.2806, allocations: 0 / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.2806, allocations: 105.9 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2806, allocations: 0 / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.2808, allocations: 4 kB / 436.8 MB, free: 2.18 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001216/0.281, allocations: 103.2 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2811, allocations: 39.97 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2811, allocations: 0 / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.2812, allocations: 7.938 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2815, allocations: 23.95 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.2818, allocations: 180 kB / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2822, allocations: 0.6924 MB / 437.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.2822, allocations: 15.69 kB / 437.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2822, allocations: 0 / 437.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of Templates: time 0.002278/0.2845, allocations: 0.6929 MB / 438.6 MB, free: 368 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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: 6.877058404032141]