Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00171/0.00171, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.002035/0.002035, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.52/1.52, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 67.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1043, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002762/0.1071, allocations: 1.531 MB / 429.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.1075, allocations: 147.5 kB / 429.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1075, allocations: 0 / 429.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.1076, allocations: 3.938 kB / 429.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1077, allocations: 7.938 kB / 429.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1079, allocations: 39.89 kB / 429.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.108, allocations: 27.92 kB / 429.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1081, allocations: 11.98 kB / 429.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.1081, allocations: 15.94 kB / 429.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.1082, allocations: 23.84 kB / 429.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1082, allocations: 4 kB / 429.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.1082, allocations: 0 / 429.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.1083, allocations: 11.94 kB / 429.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.1083, allocations: 23.8 kB / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1084, allocations: 47.75 kB / 429.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1084, allocations: 0 / 429.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1084, allocations: 0 / 429.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1084, allocations: 0 / 429.7 MB, free: 2.598 MB / 350.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.0004731/0.1089, allocations: 379.1 kB / 430.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1089, allocations: 12.03 kB / 430.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.109, allocations: 8.891 kB / 430.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1092, allocations: 192.2 kB / 430.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1092, allocations: 12.31 kB / 430.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1092, allocations: 4.312 kB / 430.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1095, allocations: 117.6 kB / 430.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1095, allocations: 192 / 430.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1095, allocations: 3.938 kB / 430.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1095, allocations: 0 / 430.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.1096, allocations: 19.98 kB / 430.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.1099, allocations: 265.8 kB / 430.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1101, allocations: 130.2 kB / 430.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.1102, allocations: 33.7 kB / 430.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1102, allocations: 0 / 430.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1103, allocations: 34.56 kB / 430.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1103, allocations: 4 kB / 430.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002416/0.1105, allocations: 73.56 kB / 431 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.1106, allocations: 85.11 kB / 431.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1107, allocations: 135.5 kB / 431.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1107, allocations: 25.83 kB / 431.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1108, allocations: 92.14 kB / 431.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.208e-06/0.1108, allocations: 3.953 kB / 431.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1108, allocations: 17.72 kB / 431.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.111, allocations: 318.8 kB / 431.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.111, allocations: 11.94 kB / 431.7 MB, free: 396 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.111, allocations: 31.42 kB / 431.7 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/0.1111, allocations: 47.36 kB / 431.7 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1111, allocations: 0 / 431.7 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.1113, allocations: 73.56 kB / 431.8 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1113, allocations: 11.98 kB / 431.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1113, allocations: 0 / 431.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1113, allocations: 0 / 431.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.1114, allocations: 8 kB / 431.8 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1114, allocations: 4 kB / 431.8 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.1114, allocations: 3.953 kB / 431.8 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1114, allocations: 4 kB / 431.8 MB, free: 180 kB / 350.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 9.113e-05/0.1115, allocations: 121.8 kB / 432 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1116, allocations: 53.62 kB / 432 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.1116, allocations: 12.25 kB / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1116, allocations: 336 / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1116, allocations: 3.938 kB / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1116, allocations: 0 / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1119, allocations: 185.5 kB / 432.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1119, allocations: 0 / 432.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1119, allocations: 8 kB / 432.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1119, allocations: 3.984 kB / 432.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1119, allocations: 0 / 432.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1119, allocations: 4 kB / 432.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1119, allocations: 4 kB / 432.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1121, allocations: 168.2 kB / 432.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.1122, allocations: 85.11 kB / 432.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1122, allocations: 7.984 kB / 432.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.1123, allocations: 0 / 432.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.1123, allocations: 4 kB / 432.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1123, allocations: 4 kB / 432.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.1124, allocations: 103.2 kB / 432.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1124, allocations: 0 / 432.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1126, allocations: 11.98 kB / 432.6 MB, free: 15.3 MB / 366.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 9.64e-05/0.1127, allocations: 96.94 kB / 432.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1128, allocations: 32.11 kB / 432.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1128, allocations: 3.938 kB / 432.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.1129, allocations: 11.98 kB / 432.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1132, allocations: 22.89 kB / 432.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.1135, allocations: 184 kB / 432.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1138, allocations: 0.6885 MB / 433.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1139, allocations: 11.56 kB / 433.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1139, allocations: 4 kB / 433.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Templates: time 0.002142/0.116, allocations: 0.6999 MB / 434.3 MB, free: 13.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.585340983001515]