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.001385/0.001385, allocations: 109.8 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.001551/0.001551, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.463/1.463, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.001881/0.001881, allocations: 71.83 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1204, allocations: 53.32 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003061/0.1235, allocations: 1.528 MB / 429.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004186/0.1239, allocations: 143.5 kB / 429.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.124, allocations: 4 kB / 429.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.923e-05/0.124, allocations: 7.938 kB / 429.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1241, allocations: 7.922 kB / 429.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1244, allocations: 31.92 kB / 429.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.1245, allocations: 35.91 kB / 429.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1246, allocations: 11.98 kB / 429.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.1246, allocations: 15.94 kB / 429.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.1247, allocations: 11.86 kB / 429.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1247, allocations: 4 kB / 429.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.1247, allocations: 4 kB / 429.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.1248, allocations: 11.98 kB / 429.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1248, allocations: 23.81 kB / 429.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1249, allocations: 55.69 kB / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1249, allocations: 0 / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1249, allocations: 0 / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1249, allocations: 0 / 429.9 MB, free: 2.461 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.0005082/0.1254, allocations: 375 kB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1255, allocations: 12.02 kB / 430.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1255, allocations: 8.891 kB / 430.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1258, allocations: 200.2 kB / 430.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1258, allocations: 384 / 430.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1258, allocations: 4.375 kB / 430.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1261, allocations: 117.5 kB / 430.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1261, allocations: 192 / 430.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1261, allocations: 7.938 kB / 430.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1261, allocations: 0 / 430.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.1262, allocations: 19.98 kB / 430.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1265, allocations: 261.8 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1268, allocations: 142.2 kB / 431.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.1268, allocations: 25.77 kB / 431.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1269, allocations: 4 kB / 431.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1269, allocations: 34.5 kB / 431.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1269, allocations: 0 / 431.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002741/0.1272, allocations: 85.64 kB / 431.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.1272, allocations: 77.11 kB / 431.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1274, allocations: 134.1 kB / 431.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1274, allocations: 25.7 kB / 431.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.1275, allocations: 84.14 kB / 431.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.1275, allocations: 3.953 kB / 431.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1275, allocations: 25.7 kB / 431.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1277, allocations: 314.9 kB / 431.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.1277, allocations: 15.92 kB / 431.9 MB, free: 256 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.1278, allocations: 31.44 kB / 431.9 MB, free: 212 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.925e-05/0.1279, allocations: 47.36 kB / 432 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1279, allocations: 0 / 432 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.128, allocations: 69.55 kB / 432 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.128, allocations: 4 kB / 432 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.128, allocations: 7.938 kB / 432 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.128, allocations: 0 / 432 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.1281, allocations: 11.98 kB / 432 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1281, allocations: 4.125 kB / 432 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.1281, allocations: 7.953 kB / 432.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1281, allocations: 3.938 kB / 432.1 MB, free: 36 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 0.0001162/0.1283, allocations: 121.8 kB / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.1283, allocations: 49.95 kB / 432.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.1284, allocations: 12.19 kB / 432.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1284, allocations: 4 kB / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1284, allocations: 4 kB / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.1284, allocations: 3.984 kB / 432.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1286, allocations: 173.6 kB / 432.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1286, allocations: 3.984 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.1286, allocations: 8 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1287, allocations: 0 / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1287, allocations: 4 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1287, allocations: 0 / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1287, allocations: 0 / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.1289, allocations: 172.3 kB / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1289, allocations: 89.09 kB / 432.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1289, allocations: 3.938 kB / 432.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.129, allocations: 0 / 432.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.129, allocations: 7.984 kB / 432.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.129, allocations: 0 / 432.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.1291, allocations: 110.2 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1291, allocations: 0 / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1293, allocations: 4 kB / 432.8 MB, free: 15.17 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 0.0001238/0.1295, allocations: 103.2 kB / 432.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1296, allocations: 31.91 kB / 432.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1296, allocations: 7.938 kB / 433 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.1296, allocations: 4 kB / 433 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.13, allocations: 26.02 kB / 433 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.1303, allocations: 188.3 kB / 433.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1307, allocations: 0.6885 MB / 433.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.1307, allocations: 11.44 kB / 433.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1307, allocations: 0 / 433.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Templates: time 0.002268/0.133, allocations: 0.6972 MB / 434.6 MB, free: 13.35 MB / 366.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.689959920942783]