Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.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: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007595/0.0007598, allocations: 96.91 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000863/0.000863, allocations: 201.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.7 MB / 246.8 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000188/0.000188, allocations: 8 kB / 307.8 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07884/0.07905, allocations: 51.51 MB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.001824/0.0809, allocations: 1.59 MB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.08199, allocations: 0.635 MB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.08212, allocations: 4 kB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.72e-05/0.08223, allocations: 15.8 kB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.08237, allocations: 31.78 kB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.08262, allocations: 63.88 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.08283, allocations: 159.4 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.08298, allocations: 76.11 kB / 361.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.08312, allocations: 55.72 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.08325, allocations: 71.61 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.08328, allocations: 4 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.08334, allocations: 19.94 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.08341, allocations: 35.84 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.0835, allocations: 93.19 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.08368, allocations: 167.5 kB / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.08369, allocations: 0 / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0837, allocations: 0 / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.08371, allocations: 0 / 362.3 MB, free: 9.973 MB / 302.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.000709/0.08442, allocations: 499 kB / 362.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.08446, allocations: 12.03 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.08452, allocations: 46.73 kB / 362.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.08466, allocations: 40.64 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.08491, allocations: 243.6 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.08493, allocations: 8.656 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.08496, allocations: 16.38 kB / 363.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.08531, allocations: 211.8 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.08533, allocations: 4 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.08535, allocations: 4 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.08538, allocations: 8 kB / 363.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.08568, allocations: 155.8 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.08669, allocations: 0.7935 MB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.08699, allocations: 165 kB / 364.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.08714, allocations: 77.8 kB / 364.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.08718, allocations: 8 kB / 364.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.08742, allocations: 156.8 kB / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.08743, allocations: 0 / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005215/0.08796, allocations: 270 kB / 365 MB, free: 7.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.08801, allocations: 77.11 kB / 365.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.08818, allocations: 211.1 kB / 365.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.08821, allocations: 29.7 kB / 365.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.08831, allocations: 144.1 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.08835, allocations: 43.44 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.08839, allocations: 25.72 kB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.08851, allocations: 338.7 kB / 365.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.08866, allocations: 75.95 kB / 365.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.08885, allocations: 133.9 kB / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.08918, allocations: 214.8 kB / 366.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.08919, allocations: 0 / 366.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004181/0.08961, allocations: 253.2 kB / 366.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.08963, allocations: 4 kB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.08965, allocations: 4 kB / 366.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.08966, allocations: 4 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.08982, allocations: 39.91 kB / 366.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.08983, allocations: 4 kB / 366.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.08999, allocations: 35.89 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.09002, allocations: 12 kB / 366.6 MB, free: 5.348 MB / 302.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.00012/0.09014, allocations: 153.6 kB / 366.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.09017, allocations: 15.81 kB / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.09059, allocations: 218.9 kB / 367 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.0906, allocations: 4 kB / 367 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.09061, allocations: 0 / 367 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.09062, allocations: 3.984 kB / 367 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.09085, allocations: 273.4 kB / 367.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09086, allocations: 0 / 367.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.09098, allocations: 23.92 kB / 367.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.091, allocations: 112 / 367.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.09102, allocations: 15.92 kB / 367.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.09102, allocations: 0 / 367.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.09103, allocations: 4 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.09139, allocations: 244.4 kB / 367.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.09145, allocations: 92.86 kB / 367.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.09148, allocations: 8 kB / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.09162, allocations: 23.97 kB / 367.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.09167, allocations: 15.98 kB / 367.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.09169, allocations: 4 kB / 367.7 MB, free: 4.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.0918, allocations: 148.7 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09181, allocations: 0 / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.09205, allocations: 39.84 kB / 367.9 MB, free: 3.977 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006267/0.09269, allocations: 0.7756 MB / 368.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.09305, allocations: 187.8 kB / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.09306, allocations: 0 / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.09325, allocations: 88.33 kB / 368.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.09357, allocations: 36.61 kB / 369 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.09596, allocations: 2.263 MB / 371.2 MB, free: 484 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1348/0.2308, allocations: 0.7299 MB / 372 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.2311, allocations: 34.31 kB / 372 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2312, allocations: 57.3 kB / 372.1 MB, free: 18.83 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2312, allocations: 1.375 kB / 372.1 MB, free: 18.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2467, allocations: 3.678 MB / 375.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.2469, allocations: 183 kB / 375.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.896, allocations: 0 / 375.9 MB, free: 18.34 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1.fmu > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches