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.001492/0.001492, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3159, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005922/0.3218, allocations: 5.325 MB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3246, allocations: 1.641 MB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.3251, allocations: 18.12 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.3287, allocations: 1.597 MB / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007764/0.3295, allocations: 307.3 kB / 0.5392 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3306, allocations: 0.529 MB / 0.5397 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.3314, allocations: 0.8009 MB / 0.5405 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.3324, allocations: 0.7293 MB / 0.5412 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.3329, allocations: 346.8 kB / 0.5415 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.3334, allocations: 465.8 kB / 0.542 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.649e-05/0.3335, allocations: 73.66 kB / 0.542 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.3339, allocations: 196.5 kB / 0.5422 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.334, allocations: 170.8 kB / 0.5424 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.3344, allocations: 435 kB / 0.5428 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3355, allocations: 1.164 MB / 0.5439 GB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3355, allocations: 3.984 kB / 0.5439 GB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3355, allocations: 1.156 kB / 0.5439 GB, free: 3.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.3356, allocations: 0 / 0.5439 GB, free: 3.199 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.003117/0.3387, allocations: 1.356 MB / 0.5453 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3387, allocations: 9.75 kB / 0.5453 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.3389, allocations: 152.1 kB / 0.5454 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.3405, allocations: 239.9 kB / 0.5457 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.3407, allocations: 262.6 kB / 0.5459 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.3408, allocations: 74.44 kB / 0.546 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.341, allocations: 111.8 kB / 0.5461 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3423, allocations: 0.9271 MB / 0.547 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.3424, allocations: 4 kB / 0.547 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.3425, allocations: 40 kB / 0.547 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3425, allocations: 24 kB / 0.547 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3437, allocations: 0.7213 MB / 0.5478 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.3482, allocations: 4.079 MB / 0.5517 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.3506, allocations: 3.37 MB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.351, allocations: 294.1 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3511, allocations: 174.5 kB / 0.5555 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3512, allocations: 46.81 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.165e-06/0.3512, allocations: 0 / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002633/0.3538, allocations: 1.333 MB / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3539, allocations: 132.5 kB / 0.5569 GB, free: 5.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.3543, allocations: 314.8 kB / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3543, allocations: 37.7 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.3545, allocations: 394.4 kB / 0.5577 GB, free: 4.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3547, allocations: 232.6 kB / 0.5579 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.3549, allocations: 150.6 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.355, allocations: 358.7 kB / 0.5584 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.3554, allocations: 205.8 kB / 0.5586 GB, free: 3.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.3558, allocations: 396.6 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.3566, allocations: 0.622 MB / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3566, allocations: 0 / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001356/0.358, allocations: 0.881 MB / 0.5604 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.358, allocations: 8 kB / 0.5604 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.358, allocations: 4 kB / 0.5604 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.3586, allocations: 227.7 kB / 0.5606 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.3591, allocations: 139.8 kB / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.3643, allocations: 6.703 MB / 0.5673 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.3648, allocations: 83.11 kB / 0.5674 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.3649, allocations: 32 kB / 0.5674 GB, free: 9.832 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.0002923/0.3652, allocations: 236.7 kB / 0.5677 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3653, allocations: 39.53 kB / 0.5677 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3666, allocations: 0.6831 MB / 0.5684 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3666, allocations: 8 kB / 0.5684 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3666, allocations: 12 kB / 0.5684 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.3666, allocations: 3.984 kB / 0.5684 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.3689, allocations: 1.566 MB / 0.5699 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3689, allocations: 0 / 0.5699 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.3691, allocations: 71.91 kB / 0.57 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/0.3696, allocations: 219.5 kB / 0.5702 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3697, allocations: 20 kB / 0.5702 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.3747, allocations: 6.697 MB / 0.5767 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3747, allocations: 0 / 0.5767 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.3762, allocations: 1.183 MB / 0.5779 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3764, allocations: 124.5 kB / 0.578 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.3765, allocations: 12 kB / 0.578 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.3768, allocations: 12 kB / 0.578 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3769, allocations: 71.8 kB / 0.5781 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.377, allocations: 16.06 kB / 0.5781 GB, free: 14.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.3772, allocations: 213.9 kB / 0.5783 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3772, allocations: 0 / 0.5783 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009602/0.3782, allocations: 287.1 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.001753/0.3799, allocations: 1.77 MB / 0.5803 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.3815, allocations: 1.076 MB / 0.5814 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3815, allocations: 0 / 0.5814 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.3823, allocations: 0.7677 MB / 0.5821 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.383, allocations: 57.11 kB / 0.5822 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.3894, allocations: 5.13 MB / 0.5872 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3899, allocations: 0.9111 MB / 0.5881 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.3901, allocations: 60.55 kB / 0.5881 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.3904, allocations: 235.4 kB / 0.5884 GB, free: 3.215 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3904, allocations: 0 / 0.5884 GB, free: 3.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.4284, allocations: 11.96 MB / 0.6 GB, free: 7.449 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.47, allocations: 7.062 kB / 0.6001 GB, free: 7.445 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