Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 107.1 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.238, allocations: 50.56 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003381/0.2414, allocations: 2.016 MB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2436, allocations: 1.278 MB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.2438, allocations: 4 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.2447, allocations: 299.1 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.2453, allocations: 259.1 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.2459, allocations: 223 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.2464, allocations: 367.1 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2465, allocations: 60.7 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.2468, allocations: 151.4 kB / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.247, allocations: 151.4 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.247, allocations: 20 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.2472, allocations: 87.94 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2474, allocations: 87.69 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.2475, allocations: 135.1 kB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.2479, allocations: 363.9 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2479, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2479, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.248, allocations: 0 / 415.4 MB, free: 12.13 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.001028/0.249, allocations: 0.6727 MB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.249, allocations: 8.031 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.2491, allocations: 36.56 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.2496, allocations: 342.3 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2496, allocations: 8.312 kB / 416.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.2497, allocations: 16.12 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.25, allocations: 152 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.25, allocations: 0 / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.25, allocations: 8 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2501, allocations: 4 kB / 416.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.2502, allocations: 63.97 kB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.251, allocations: 0.4963 MB / 417.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.2513, allocations: 134.7 kB / 417.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2515, allocations: 48.83 kB / 417.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.2515, allocations: 0 / 417.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.2518, allocations: 111.3 kB / 417.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.2518, allocations: 0 / 417.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005916/0.2524, allocations: 228 kB / 417.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.2525, allocations: 106.8 kB / 417.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.2531, allocations: 453.6 kB / 418.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2531, allocations: 33.7 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2533, allocations: 168 kB / 418.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.2533, allocations: 39.44 kB / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.2534, allocations: 45.7 kB / 418.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2536, allocations: 354.7 kB / 418.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.2537, allocations: 39.98 kB / 418.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2539, allocations: 108.4 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2541, allocations: 110.4 kB / 419.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2541, allocations: 0 / 419.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003283/0.2545, allocations: 173.2 kB / 419.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2545, allocations: 4 kB / 419.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2545, allocations: 7.938 kB / 419.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2545, allocations: 0 / 419.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2546, allocations: 27.92 kB / 419.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2547, allocations: 3.984 kB / 419.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2548, allocations: 27.89 kB / 419.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.2548, allocations: 4 kB / 419.4 MB, free: 7.863 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.0001593/0.255, allocations: 171.5 kB / 419.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.255, allocations: 27.62 kB / 419.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.2551, allocations: 46.89 kB / 419.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2551, allocations: 0 / 419.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2551, allocations: 4 kB / 419.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.2552, allocations: 104.7 kB / 419.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.2552, allocations: 11.98 kB / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.2553, allocations: 11.94 kB / 419.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2554, allocations: 11.98 kB / 419.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003322/0.2557, allocations: 236.2 kB / 420 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003646/0.2561, allocations: 354.3 kB / 420.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001364/0.2563, allocations: 63.95 kB / 420.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003844/0.2567, allocations: 335.1 kB / 420.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of Backend: time 4.5e-07/0.2567, allocations: 0 / 420.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.2582, allocations: 487 kB / 421.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of SimCode: time 0.001088/0.2593, allocations: 0.9723 MB / 422.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of Templates: time 0.008946/0.2683, allocations: 4.007 MB / 426.2 MB, free: 1.133 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.LogicalNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches