Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001052/0.001052, allocations: 195.5 kB / 16.91 MB, free: 6.191 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.259/1.259, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2836/0.2836, allocations: 43.5 MB / 313.6 MB, free: 8.559 MB / 254.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.001303/0.001303, allocations: 67.89 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08773, allocations: 57.79 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005379/0.09314, allocations: 5.256 MB / 445.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.09503, allocations: 1.605 MB / 447 MB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.09521, allocations: 20 kB / 447 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.098, allocations: 1.502 MB / 448.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.09847, allocations: 254.4 kB / 448.7 MB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.09949, allocations: 0.6231 MB / 449.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.1001, allocations: 0.8048 MB / 450.2 MB, free: 4.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009515/0.1011, allocations: 0.8342 MB / 451 MB, free: 3.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.1014, allocations: 342.7 kB / 451.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.1018, allocations: 458.2 kB / 451.8 MB, free: 2.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.553e-05/0.1019, allocations: 76 kB / 451.9 MB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.1022, allocations: 187.9 kB / 452 MB, free: 2.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1023, allocations: 179.3 kB / 452.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.1026, allocations: 426 kB / 452.6 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.1035, allocations: 1.141 MB / 453.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1035, allocations: 0 / 453.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1035, allocations: 0 / 453.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1035, allocations: 0 / 453.8 MB, free: 0.9062 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.1638/0.2673, allocations: 1.349 MB / 455.1 MB, free: 48.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2673, allocations: 13.55 kB / 455.1 MB, free: 48.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.2675, allocations: 151.5 kB / 455.3 MB, free: 48.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.2688, allocations: 227.8 kB / 455.5 MB, free: 48.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.269, allocations: 260.1 kB / 455.8 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2691, allocations: 73.47 kB / 455.8 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.2692, allocations: 105.8 kB / 455.9 MB, free: 48.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.2704, allocations: 0.9292 MB / 456.9 MB, free: 48.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.2704, allocations: 10.11 kB / 456.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.2705, allocations: 39.5 kB / 456.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.2705, allocations: 25.59 kB / 456.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.2715, allocations: 0.7235 MB / 457.7 MB, free: 48.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.2748, allocations: 3.941 MB / 461.6 MB, free: 45.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.2765, allocations: 3.379 MB / 465 MB, free: 41.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.2768, allocations: 295.4 kB / 465.3 MB, free: 41.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.255e-05/0.2769, allocations: 96.91 kB / 465.4 MB, free: 41.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2769, allocations: 52.75 kB / 465.4 MB, free: 41.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 1.743e-06/0.2769, allocations: 0 / 465.4 MB, free: 41.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002099/0.279, allocations: 1.315 MB / 466.7 MB, free: 40.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2791, allocations: 138.8 kB / 466.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.2793, allocations: 316.4 kB / 467.2 MB, free: 40.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.2794, allocations: 38.73 kB / 467.2 MB, free: 40.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2795, allocations: 401.9 kB / 467.6 MB, free: 40.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.2796, allocations: 236.4 kB / 467.8 MB, free: 40.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2798, allocations: 143.5 kB / 468 MB, free: 40.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.2798, allocations: 353 kB / 468.3 MB, free: 39.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.2801, allocations: 197.9 kB / 468.5 MB, free: 39.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2805, allocations: 398.8 kB / 468.9 MB, free: 39.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.2811, allocations: 0.6339 MB / 469.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2811, allocations: 3.25 kB / 469.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001125/0.2822, allocations: 0.8804 MB / 470.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2823, allocations: 6.188 kB / 470.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2823, allocations: 6.188 kB / 470.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.2828, allocations: 233.4 kB / 470.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.2832, allocations: 142.5 kB / 470.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.2868, allocations: 6.703 MB / 477.5 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.2872, allocations: 83.31 kB / 477.6 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.2873, allocations: 39.08 kB / 477.6 MB, free: 32.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.2875, allocations: 222.2 kB / 477.8 MB, free: 31.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2876, allocations: 45.64 kB / 477.9 MB, free: 31.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.2886, allocations: 0.6961 MB / 478.6 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2886, allocations: 7.516 kB / 478.6 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2886, allocations: 9.016 kB / 478.6 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2886, allocations: 6.297 kB / 478.6 MB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.2903, allocations: 1.566 MB / 480.2 MB, free: 30.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2903, allocations: 3.031 kB / 480.2 MB, free: 30.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.2905, allocations: 67.88 kB / 480.2 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.291, allocations: 222.2 kB / 480.5 MB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.291, allocations: 18.19 kB / 480.5 MB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.2944, allocations: 6.68 MB / 487.2 MB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2944, allocations: 4.062 kB / 487.2 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.2955, allocations: 1.185 MB / 488.3 MB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.2956, allocations: 132.7 kB / 488.5 MB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.2957, allocations: 11.44 kB / 488.5 MB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.296, allocations: 18.66 kB / 488.5 MB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.2961, allocations: 61.69 kB / 488.6 MB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.2961, allocations: 24.27 kB / 488.6 MB, free: 23.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2963, allocations: 216.9 kB / 488.8 MB, free: 23.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2963, allocations: 0 / 488.8 MB, free: 23.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008715/0.2972, allocations: 273 kB / 489.1 MB, free: 23.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.2986, allocations: 1.771 MB / 490.8 MB, free: 21.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.2998, allocations: 1.09 MB / 491.9 MB, free: 21.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2999, allocations: 5.844 kB / 491.9 MB, free: 21.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.3005, allocations: 0.7775 MB / 492.7 MB, free: 20.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.3011, allocations: 40.86 kB / 492.8 MB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.3062, allocations: 5.551 MB / 498.3 MB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3065, allocations: 0.9096 MB / 499.2 MB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.3068, allocations: 68.38 kB / 499.3 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.307, allocations: 230.5 kB / 499.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.307, allocations: 0 / 499.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/1.308, allocations: 11.36 MB / 0.4989 GB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.308, allocations: 250.2 kB / 0.4991 GB, free: 14.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/5.28, allocations: 0 / 0.4991 GB, free: 14.47 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches