Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 110 kB / 17.73 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 186.5 kB / 18.67 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2324, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003238/0.2357, allocations: 2.006 MB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2373, allocations: 1.138 MB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2375, allocations: 4 kB / 404.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.2382, allocations: 309.2 kB / 404.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.2387, allocations: 199.3 kB / 405 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.2393, allocations: 296.3 kB / 405.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.2396, allocations: 335.2 kB / 405.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2398, allocations: 52.39 kB / 405.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2399, allocations: 147.4 kB / 405.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2401, allocations: 147.4 kB / 406 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.2402, allocations: 20 kB / 406 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2403, allocations: 79.94 kB / 406.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2404, allocations: 87.67 kB / 406.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2406, allocations: 127.2 kB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.2409, allocations: 350.5 kB / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.241, allocations: 0 / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.241, allocations: 0 / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.241, allocations: 4 kB / 406.6 MB, free: 3.594 MB / 318.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.0008344/0.2418, allocations: 0.6634 MB / 407.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2419, allocations: 12.03 kB / 407.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.2419, allocations: 36.7 kB / 407.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.2423, allocations: 340 kB / 407.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2424, allocations: 8 kB / 407.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.2424, allocations: 12 kB / 407.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.2427, allocations: 155.8 kB / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2427, allocations: 0 / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2427, allocations: 0 / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2427, allocations: 7.938 kB / 407.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.2429, allocations: 71.91 kB / 407.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.2435, allocations: 0.4885 MB / 408.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.2438, allocations: 134.8 kB / 408.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2439, allocations: 48.72 kB / 408.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.244, allocations: 7.938 kB / 408.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2442, allocations: 119.3 kB / 408.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.2442, allocations: 0 / 408.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004655/0.2447, allocations: 213.4 kB / 408.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.2447, allocations: 106.8 kB / 409 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.2452, allocations: 432.5 kB / 409.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2452, allocations: 29.7 kB / 409.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2453, allocations: 164 kB / 409.7 MB, free: 360 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.2454, allocations: 43.67 kB / 409.7 MB, free: 316 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.2454, allocations: 45.7 kB / 409.7 MB, free: 264 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2456, allocations: 346.8 kB / 410.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2457, allocations: 43.94 kB / 410.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2458, allocations: 97.98 kB / 410.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.246, allocations: 113.2 kB / 410.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2461, allocations: 0 / 410.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002983/0.2464, allocations: 177.3 kB / 410.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2464, allocations: 8 kB / 410.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2464, allocations: 0 / 410.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2464, allocations: 0 / 410.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2465, allocations: 27.98 kB / 410.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2465, allocations: 4.062 kB / 410.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.701e-05/0.2466, allocations: 15.89 kB / 410.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2467, allocations: 8 kB / 410.6 MB, free: 15.39 MB / 334.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.0001462/0.2468, allocations: 175.5 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.2469, allocations: 31.75 kB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.894e-05/0.2469, allocations: 34.94 kB / 410.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.247, allocations: 7.922 kB / 410.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.247, allocations: 8 kB / 410.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.247, allocations: 100.9 kB / 410.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.2471, allocations: 4 kB / 410.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.2472, allocations: 7.984 kB / 410.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2472, allocations: 15.98 kB / 410.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003456/0.2476, allocations: 247.4 kB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000362/0.248, allocations: 354.5 kB / 411.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001142/0.2481, allocations: 55.97 kB / 411.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.2484, allocations: 311 kB / 411.9 MB, free: 14 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.2484, allocations: 3.938 kB / 411.9 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2497, allocations: 0.4926 MB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009197/0.2507, allocations: 0.9454 MB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Templates: time 0.007254/0.2579, allocations: 3.951 MB / 417.3 MB, free: 8.754 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches