Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Blocks.Examples.LogicalNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 53.37 MB / 432.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003621/0.2317, allocations: 1.988 MB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2341, allocations: 1.216 MB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2342, allocations: 11.94 kB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.2351, allocations: 311.1 kB / 435.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.2357, allocations: 267.1 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.2363, allocations: 234.6 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.2367, allocations: 355.1 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2369, allocations: 52.69 kB / 436.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2371, allocations: 151.4 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.2373, allocations: 159.4 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.2374, allocations: 19.98 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.2376, allocations: 91.88 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2377, allocations: 87.69 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2378, allocations: 103.3 kB / 437.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.2383, allocations: 361.4 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2383, allocations: 0 / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2383, allocations: 3.938 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2383, allocations: 0 / 437.7 MB, free: 1.305 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.001019/0.2393, allocations: 0.6088 MB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2394, allocations: 12.03 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.2395, allocations: 36.7 kB / 438.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.2399, allocations: 272.8 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.24, allocations: 12.38 kB / 438.6 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.24, allocations: 12.12 kB / 438.6 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2403, allocations: 117.6 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2403, allocations: 0 / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2403, allocations: 12 kB / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2403, allocations: 0 / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2405, allocations: 85.38 kB / 438.8 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.2412, allocations: 404.2 kB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.2416, allocations: 134.7 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2417, allocations: 44.84 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2417, allocations: 0 / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.242, allocations: 123.2 kB / 439.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.242, allocations: 3.938 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005644/0.2425, allocations: 233.2 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2426, allocations: 55.41 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.2432, allocations: 457.6 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.2432, allocations: 29.7 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2434, allocations: 176 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.2434, allocations: 39.69 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.2435, allocations: 49.69 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2437, allocations: 342.8 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2438, allocations: 47.97 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.244, allocations: 146.2 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.2442, allocations: 113.4 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2442, allocations: 0 / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003508/0.2446, allocations: 181.5 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2446, allocations: 12 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2446, allocations: 4 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2446, allocations: 3.938 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2448, allocations: 27.92 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.2448, allocations: 0 / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2449, allocations: 23.88 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.2449, allocations: 4 kB / 441.4 MB, free: 13.33 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.0001794/0.2451, allocations: 171.5 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.2451, allocations: 35.81 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.2456, allocations: 200.4 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2456, allocations: 3.938 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2456, allocations: 0 / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.2456, allocations: 39.69 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.2457, allocations: 4 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.2458, allocations: 15.98 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.2458, allocations: 7.984 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004755/0.2463, allocations: 256.8 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000471/0.2468, allocations: 377.2 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001376/0.2469, allocations: 59.95 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.2473, allocations: 331.1 kB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2473, allocations: 0 / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.2495, allocations: 0.5251 MB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 0.00119/0.2507, allocations: 0.9636 MB / 444.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009384/0.2601, allocations: 4.459 MB / 448.9 MB, free: 6.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.342666814001859]