Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.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.001515/0.001515, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001505/0.001505, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.438/1.438, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1") [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.001936/0.001936, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2508, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003529/0.2543, allocations: 2.054 MB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2565, allocations: 1.302 MB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2566, allocations: 4 kB / 435.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.2575, allocations: 307.1 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.258, allocations: 259.1 kB / 436 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.2586, allocations: 231.5 kB / 436.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.259, allocations: 347.2 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2591, allocations: 44.72 kB / 436.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.2593, allocations: 147.4 kB / 436.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2595, allocations: 163.3 kB / 436.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.2596, allocations: 23.98 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2598, allocations: 83.89 kB / 437 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2599, allocations: 95.61 kB / 437.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.26, allocations: 123.2 kB / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.2605, allocations: 364.4 kB / 437.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2605, allocations: 0 / 437.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2605, allocations: 0 / 437.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.2605, allocations: 4 kB / 437.5 MB, free: 1.863 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001068/0.2616, allocations: 0.6919 MB / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2616, allocations: 8.031 kB / 438.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.2617, allocations: 36.7 kB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.2621, allocations: 342.7 kB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2622, allocations: 12.31 kB / 438.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.2622, allocations: 16.12 kB / 438.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2625, allocations: 148 kB / 438.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2625, allocations: 0 / 438.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2625, allocations: 8 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2625, allocations: 0 / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2627, allocations: 67.95 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.2635, allocations: 0.4926 MB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2638, allocations: 122.7 kB / 439.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2639, allocations: 48.83 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.264, allocations: 0 / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.2642, allocations: 115.3 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2642, allocations: 0 / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005132/0.2647, allocations: 228.3 kB / 439.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.2648, allocations: 102.8 kB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.2653, allocations: 457.6 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2654, allocations: 29.7 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2655, allocations: 179.9 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.2655, allocations: 39.69 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.2656, allocations: 45.7 kB / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2658, allocations: 342.8 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2659, allocations: 39.98 kB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.266, allocations: 109.1 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.2663, allocations: 106.5 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2663, allocations: 0 / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003406/0.2666, allocations: 177.4 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2666, allocations: 8 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2666, allocations: 4 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2666, allocations: 4 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2668, allocations: 31.92 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2668, allocations: 3.938 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2669, allocations: 19.88 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2669, allocations: 8 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition1,Pre1.y,Pre1.u,$PRE.Pre1.u,And1.y,Not1.y,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,table2.combiTimeTable.nextTimeEventScaled,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001765/0.2671, allocations: 171.5 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.2671, allocations: 27.81 kB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.2675, allocations: 199.3 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2676, allocations: 0 / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2676, allocations: 0 / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.2676, allocations: 108.9 kB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.2677, allocations: 8 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.2678, allocations: 7.984 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2678, allocations: 19.92 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000362/0.2682, allocations: 240.8 kB / 442.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004063/0.2686, allocations: 354.4 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001187/0.2687, allocations: 55.06 kB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003707/0.2691, allocations: 331.1 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Backend: time 3.7e-07/0.2691, allocations: 0 / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.2711, allocations: 0.494 MB / 443.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of SimCode: time 0.00117/0.2723, allocations: 0.966 MB / 444.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Templates: time 0.008826/0.2811, allocations: 4.061 MB / 448.5 MB, free: 6.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.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.336166516877711]