Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 106.3 kB / 18.4 MB, free: 4.531 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.00111/0.00111, allocations: 188.3 kB / 19.34 MB, free: 3.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07176/0.073, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.00383/0.07686, allocations: 1.852 MB / 377.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.07837, allocations: 0.6318 MB / 378.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.07853, allocations: 4 kB / 378.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.07869, allocations: 35.59 kB / 378.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.07889, allocations: 31.66 kB / 378.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.07931, allocations: 63.88 kB / 378.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.07961, allocations: 167.4 kB / 378.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.07982, allocations: 73.5 kB / 378.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.07997, allocations: 71.69 kB / 378.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.08016, allocations: 83.56 kB / 378.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.08021, allocations: 12 kB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.08031, allocations: 27.92 kB / 378.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.08041, allocations: 39.91 kB / 378.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.08053, allocations: 79.47 kB / 379 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.08089, allocations: 191.2 kB / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.08091, allocations: 0 / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.08092, allocations: 0 / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.08093, allocations: 0 / 379.2 MB, free: 1.215 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001065/0.082, allocations: 0.5104 MB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.08205, allocations: 8.031 kB / 379.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.08213, allocations: 24.66 kB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.08252, allocations: 239.7 kB / 379.9 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.08256, allocations: 8.656 kB / 379.9 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.0826, allocations: 16.38 kB / 380 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.08304, allocations: 195.3 kB / 380.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.08306, allocations: 0 / 380.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.0831, allocations: 11.97 kB / 380.2 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.08313, allocations: 11.94 kB / 380.2 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1449/0.228, allocations: 133.2 kB / 380.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2291, allocations: 0.7779 MB / 381.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.2294, allocations: 157.5 kB / 381.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2295, allocations: 74.45 kB / 381.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.2296, allocations: 9.891 kB / 381.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.2298, allocations: 151.1 kB / 381.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.2298, allocations: 0 / 381.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005254/0.2304, allocations: 256.7 kB / 381.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2304, allocations: 82.52 kB / 381.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2306, allocations: 201.4 kB / 382 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2306, allocations: 31.28 kB / 382 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.2306, allocations: 143.5 kB / 382.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2307, allocations: 42.78 kB / 382.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.2308, allocations: 43.03 kB / 382.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.2308, allocations: 333.4 kB / 382.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.231, allocations: 71.59 kB / 382.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.2311, allocations: 129 kB / 382.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2314, allocations: 209 kB / 383 MB, free: 11.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2314, allocations: 0 / 383 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004438/0.2319, allocations: 245.1 kB / 383.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2319, allocations: 9.562 kB / 383.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2319, allocations: 2.094 kB / 383.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2319, allocations: 3.188 kB / 383.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.2321, allocations: 33.95 kB / 383.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2321, allocations: 3.906 kB / 383.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2323, allocations: 30.02 kB / 383.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2323, allocations: 6.219 kB / 383.3 MB, free: 11.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001021/0.2324, allocations: 151.1 kB / 383.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.2325, allocations: 20.3 kB / 383.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.2329, allocations: 215.3 kB / 383.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2329, allocations: 0.8438 kB / 383.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.233, allocations: 1.062 kB / 383.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.233, allocations: 100.3 kB / 383.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.233, allocations: 1.875 kB / 383.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.2332, allocations: 17.2 kB / 383.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2332, allocations: 17.7 kB / 383.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000443/0.2337, allocations: 361.8 kB / 384.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000347/0.234, allocations: 451 kB / 384.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001484/0.2342, allocations: 76.88 kB / 384.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.396e-05/0.2343, allocations: 149.8 kB / 384.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Backend: time 4.51e-07/0.2343, allocations: 0 / 384.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.2349, allocations: 191 kB / 385 MB, free: 10.55 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006297/0.2355, allocations: 0.7834 MB / 385.8 MB, free: 9.871 MB / 318.1 MB Notification: Performance of Templates: time 0.005723/0.2413, allocations: 2.51 MB / 388.3 MB, free: 9.707 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches