Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001387/0.001387, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001594/0.001594, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 18.57 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.439/1.439, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.197e-05, allocations: 6.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004343/0.004375, allocations: 1.522 MB / 268.8 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.004983, allocations: 143.4 kB / 269 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.005059, allocations: 0 / 269 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.542e-05/0.005125, allocations: 7.938 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.005393, allocations: 11.92 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.005698, allocations: 35.78 kB / 269 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.005819, allocations: 35.92 kB / 269.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005926, allocations: 15.97 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.005999, allocations: 19.92 kB / 269.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.006038, allocations: 0 / 269.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.006063, allocations: 4 kB / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.006077, allocations: 4 kB / 269.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.006141, allocations: 15.92 kB / 269.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.006187, allocations: 11.94 kB / 269.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.006336, allocations: 51.75 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.006342, allocations: 3.984 kB / 269.2 MB, free: 4.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006343, allocations: 0 / 269.2 MB, free: 4.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006348, allocations: 0 / 269.2 MB, free: 4.836 MB / 250.7 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.0006175/0.006965, allocations: 290.1 kB / 269.5 MB, free: 4.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.007013, allocations: 12.92 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.007074, allocations: 12.89 kB / 269.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.007375, allocations: 133.6 kB / 269.6 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.007396, allocations: 8.375 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.007411, allocations: 8.312 kB / 269.6 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.007812, allocations: 113.6 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007823, allocations: 192 / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.007833, allocations: 384 / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007839, allocations: 384 / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.007967, allocations: 23.92 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.008359, allocations: 209.4 kB / 270 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.008619, allocations: 61.2 kB / 270 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.008726, allocations: 29.7 kB / 270.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.008748, allocations: 4 kB / 270.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.008787, allocations: 30.56 kB / 270.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.008788, allocations: 0 / 270.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003921/0.009181, allocations: 89.42 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.009276, allocations: 81.11 kB / 270.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.009488, allocations: 141.7 kB / 270.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.009524, allocations: 33.7 kB / 270.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.009603, allocations: 80.14 kB / 270.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.009613, allocations: 0 / 270.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.009674, allocations: 25.66 kB / 270.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.009902, allocations: 310.8 kB / 270.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.009952, allocations: 8 kB / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.009995, allocations: 7.984 kB / 270.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.01009, allocations: 28.84 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0101, allocations: 0 / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001774/0.01027, allocations: 45.69 kB / 270.9 MB, free: 2.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.01029, allocations: 7.125 kB / 271 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.0103, allocations: 3.938 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01032, allocations: 0 / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.01037, allocations: 4 kB / 271 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01038, allocations: 0 / 271 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.01042, allocations: 0 / 271 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.01043, allocations: 4 kB / 271 MB, free: 2.859 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001392/0.01056, allocations: 121.9 kB / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.01069, allocations: 53.58 kB / 271.1 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.01074, allocations: 16.28 kB / 271.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01074, allocations: 0 / 271.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01075, allocations: 0 / 271.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01075, allocations: 0 / 271.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.01098, allocations: 109.3 kB / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01099, allocations: 4.234 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.01106, allocations: 7.984 kB / 271.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.01106, allocations: 4 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01108, allocations: 8 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.01108, allocations: 3.938 kB / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.01109, allocations: 3.984 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.0114, allocations: 168.3 kB / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.01145, allocations: 19.89 kB / 271.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01147, allocations: 3.984 kB / 271.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.01156, allocations: 7.938 kB / 271.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.01161, allocations: 0 / 271.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.01161, allocations: 0 / 271.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.01173, allocations: 107.3 kB / 271.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01173, allocations: 0 / 271.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.0121, allocations: 7.984 kB / 271.6 MB, free: 2.152 MB / 250.7 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.0001454/0.01224, allocations: 95.25 kB / 271.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.0124, allocations: 23.92 kB / 271.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0124, allocations: 0 / 271.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.01245, allocations: 8 kB / 271.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.01297, allocations: 24.89 kB / 271.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.01345, allocations: 164 kB / 271.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.01358, allocations: 79.44 kB / 272 MB, free: 1.711 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.0136, allocations: 4 kB / 272 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.01363, allocations: 8.5 kB / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01363, allocations: 0 / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of Templates: time 0.004151/0.01779, allocations: 0.5265 MB / 272.5 MB, free: 1.18 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.126321148010902]