Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001337, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 75.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007042/0.3499, allocations: 5.32 MB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.3532, allocations: 1.651 MB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.3535, allocations: 18.78 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.3571, allocations: 1.604 MB / 0.539 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008703/0.358, allocations: 313.9 kB / 0.5393 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3591, allocations: 0.5172 MB / 0.5398 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009549/0.3601, allocations: 0.8087 MB / 0.5406 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.3611, allocations: 0.7206 MB / 0.5413 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.3617, allocations: 345.9 kB / 0.5416 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.3622, allocations: 460.5 kB / 0.5421 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3624, allocations: 74.75 kB / 0.5421 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.3629, allocations: 203.8 kB / 0.5423 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.363, allocations: 174.4 kB / 0.5425 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.3635, allocations: 431.7 kB / 0.5429 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3649, allocations: 1.171 MB / 0.5441 GB, free: 3.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3649, allocations: 1.031 kB / 0.5441 GB, free: 3.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3649, allocations: 0 / 0.5441 GB, free: 3.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.3649, allocations: 0 / 0.5441 GB, free: 3.133 MB / 398.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.003513/0.3685, allocations: 1.374 MB / 0.5454 GB, free: 2.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3685, allocations: 14.41 kB / 0.5454 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.3687, allocations: 151.4 kB / 0.5456 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.3704, allocations: 233.8 kB / 0.5458 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.3707, allocations: 260.9 kB / 0.546 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.3708, allocations: 81.91 kB / 0.5461 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3709, allocations: 104.6 kB / 0.5462 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.3726, allocations: 0.9327 MB / 0.5471 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.3727, allocations: 7.953 kB / 0.5471 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.715e-05/0.3727, allocations: 40 kB / 0.5472 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.3728, allocations: 24 kB / 0.5472 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.3741, allocations: 0.7222 MB / 0.5479 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/0.3799, allocations: 4.103 MB / 0.5519 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.3831, allocations: 3.369 MB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.3836, allocations: 292.5 kB / 0.5555 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.3839, allocations: 186.4 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3839, allocations: 38.89 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.146e-06/0.3839, allocations: 4 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003123/0.387, allocations: 1.342 MB / 0.557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.3872, allocations: 136.5 kB / 0.5571 GB, free: 5.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.3876, allocations: 314.8 kB / 0.5574 GB, free: 4.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.3877, allocations: 37.7 kB / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.3881, allocations: 415.7 kB / 0.5579 GB, free: 4.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.3883, allocations: 242 kB / 0.5581 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.3886, allocations: 154.5 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.3888, allocations: 354.7 kB / 0.5586 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.3892, allocations: 197.9 kB / 0.5588 GB, free: 3.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.3898, allocations: 400.6 kB / 0.5592 GB, free: 2.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.3908, allocations: 0.6181 MB / 0.5598 GB, free: 2.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.3908, allocations: 8 kB / 0.5598 GB, free: 2.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001717/0.3925, allocations: 0.8817 MB / 0.5606 GB, free: 1.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3926, allocations: 8.031 kB / 0.5606 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3926, allocations: 8 kB / 0.5606 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/0.3933, allocations: 231.2 kB / 0.5609 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.3938, allocations: 139.8 kB / 0.561 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/0.4008, allocations: 6.704 MB / 0.5675 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.4014, allocations: 87.3 kB / 0.5676 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.4015, allocations: 40.06 kB / 0.5677 GB, free: 9.602 MB / 430.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.0003669/0.4018, allocations: 229.5 kB / 0.5679 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.402, allocations: 43.77 kB / 0.5679 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.4033, allocations: 0.6883 MB / 0.5686 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4034, allocations: 8 kB / 0.5686 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4034, allocations: 4 kB / 0.5686 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.4034, allocations: 3.984 kB / 0.5686 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.406, allocations: 1.584 MB / 0.5702 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.406, allocations: 0 / 0.5702 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.4063, allocations: 71.91 kB / 0.5702 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.4069, allocations: 215.2 kB / 0.5704 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.4069, allocations: 19.98 kB / 0.5705 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/0.4134, allocations: 6.694 MB / 0.577 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4135, allocations: 0 / 0.577 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.4153, allocations: 1.199 MB / 0.5782 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.4155, allocations: 136.7 kB / 0.5783 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.4156, allocations: 12 kB / 0.5783 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.4159, allocations: 12 kB / 0.5783 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.4161, allocations: 59.8 kB / 0.5784 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.4161, allocations: 23.98 kB / 0.5784 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002989/0.4164, allocations: 206 kB / 0.5786 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4164, allocations: 4 kB / 0.5786 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001226/0.4177, allocations: 283.4 kB / 0.5789 GB, free: 13.41 MB / 446.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.002274/0.42, allocations: 1.77 MB / 0.5806 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.4219, allocations: 1.071 MB / 0.5816 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4219, allocations: 1.125 kB / 0.5816 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/0.4229, allocations: 0.7873 MB / 0.5824 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.4237, allocations: 56.42 kB / 0.5825 GB, free: 9.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/0.4314, allocations: 5.141 MB / 0.5875 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.4322, allocations: 0.9111 MB / 0.5884 GB, free: 3.219 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.4325, allocations: 68.53 kB / 0.5884 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.4328, allocations: 235.3 kB / 0.5887 GB, free: 2.922 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4328, allocations: 0 / 0.5887 GB, free: 2.922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.4826, allocations: 11.69 MB / 0.6001 GB, free: 7.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.3, allocations: 7.812 kB / 0.6001 GB, free: 7.422 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches