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.001375/0.001375, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3369, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006144/0.3431, allocations: 5.323 MB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.3463, allocations: 1.637 MB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.3467, allocations: 17.41 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.35, allocations: 1.596 MB / 0.5389 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000984/0.351, allocations: 312.3 kB / 0.5392 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3522, allocations: 0.5172 MB / 0.5397 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.3531, allocations: 0.8006 MB / 0.5405 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.3543, allocations: 0.7304 MB / 0.5412 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006023/0.3549, allocations: 349.9 kB / 0.5415 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3555, allocations: 465.3 kB / 0.542 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.3557, allocations: 74.03 kB / 0.542 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.3563, allocations: 199.5 kB / 0.5422 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3565, allocations: 175.8 kB / 0.5424 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.3569, allocations: 426.9 kB / 0.5428 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3585, allocations: 1.168 MB / 0.5439 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3586, allocations: 0 / 0.5439 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3586, allocations: 1.188 kB / 0.5439 GB, free: 3.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3586, allocations: 4 kB / 0.5439 GB, free: 3.203 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.003824/0.3624, allocations: 1.352 MB / 0.5453 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.3625, allocations: 8.531 kB / 0.5453 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.3627, allocations: 160 kB / 0.5454 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.3645, allocations: 245.3 kB / 0.5456 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3649, allocations: 261.9 kB / 0.5459 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.3649, allocations: 74.59 kB / 0.546 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3651, allocations: 103.9 kB / 0.5461 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3666, allocations: 0.9291 MB / 0.547 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.3667, allocations: 4 kB / 0.547 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.3668, allocations: 40 kB / 0.547 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.3668, allocations: 24 kB / 0.547 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.368, allocations: 0.7253 MB / 0.5477 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.3731, allocations: 4.075 MB / 0.5517 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.3755, allocations: 3.371 MB / 0.555 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.3759, allocations: 292.1 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.3761, allocations: 182.5 kB / 0.5555 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3761, allocations: 50.83 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.365e-06/0.3761, allocations: 0 / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002547/0.3787, allocations: 1.322 MB / 0.5568 GB, free: 5.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3788, allocations: 136.5 kB / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.3791, allocations: 318.8 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.3792, allocations: 37.7 kB / 0.5573 GB, free: 5.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.3794, allocations: 394.4 kB / 0.5577 GB, free: 4.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3796, allocations: 232.6 kB / 0.5579 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.3798, allocations: 146.6 kB / 0.558 GB, free: 4.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3799, allocations: 354.7 kB / 0.5584 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.3803, allocations: 197.9 kB / 0.5585 GB, free: 3.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.3807, allocations: 400.6 kB / 0.5589 GB, free: 3.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.3816, allocations: 0.622 MB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3816, allocations: 7.938 kB / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001435/0.383, allocations: 0.8774 MB / 0.5604 GB, free: 1.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3831, allocations: 11.94 kB / 0.5604 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3831, allocations: 8 kB / 0.5604 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.3837, allocations: 223.4 kB / 0.5606 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3842, allocations: 135.8 kB / 0.5608 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/0.3896, allocations: 6.711 MB / 0.5673 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.3902, allocations: 87.11 kB / 0.5674 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.3902, allocations: 32 kB / 0.5674 GB, free: 9.848 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.0003072/0.3905, allocations: 229.5 kB / 0.5676 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.3907, allocations: 43.59 kB / 0.5677 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.3919, allocations: 0.6832 MB / 0.5684 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3919, allocations: 11.98 kB / 0.5684 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3919, allocations: 7.984 kB / 0.5684 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3919, allocations: 0 / 0.5684 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.3942, allocations: 1.574 MB / 0.5699 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3942, allocations: 4 kB / 0.5699 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3945, allocations: 67.91 kB / 0.57 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.395, allocations: 223.5 kB / 0.5702 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.395, allocations: 15.98 kB / 0.5702 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005232/0.4003, allocations: 6.693 MB / 0.5767 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4003, allocations: 0 / 0.5767 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4018, allocations: 1.191 MB / 0.5779 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.4019, allocations: 124.5 kB / 0.578 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.402, allocations: 12 kB / 0.578 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.4023, allocations: 15.98 kB / 0.5781 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.4024, allocations: 59.75 kB / 0.5781 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4025, allocations: 19.98 kB / 0.5781 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.4027, allocations: 210 kB / 0.5783 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.4027, allocations: 4.062 kB / 0.5783 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009906/0.4037, allocations: 291 kB / 0.5786 GB, free: 13.66 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.001818/0.4055, allocations: 1.758 MB / 0.5803 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.407, allocations: 1.076 MB / 0.5814 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.407, allocations: 0 / 0.5814 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008344/0.4079, allocations: 0.7757 MB / 0.5821 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.4085, allocations: 48.66 kB / 0.5822 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.4151, allocations: 5.134 MB / 0.5872 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.4156, allocations: 0.9072 MB / 0.5881 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.4159, allocations: 68.53 kB / 0.5881 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.4161, allocations: 234.5 kB / 0.5884 GB, free: 3.23 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4162, allocations: 0 / 0.5884 GB, free: 3.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.4575, allocations: 11.94 MB / 0.6 GB, free: 7.477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.62, allocations: 3.125 kB / 0.6 GB, free: 7.477 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