Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.001041/0.001041, allocations: 114.5 kB / 17.73 MB, free: 5.332 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.001102/0.001103, allocations: 179.1 kB / 18.66 MB, free: 4.414 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.276/1.276, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.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.001248/0.001248, allocations: 47.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08116/0.08242, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003997/0.08646, allocations: 2.724 MB / 377.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.08845, allocations: 1.192 MB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.0887, allocations: 4 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.09024, allocations: 0.6184 MB / 379.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.09064, allocations: 131.1 kB / 379.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1599/0.2506, allocations: 0.665 MB / 380 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.251, allocations: 298.9 kB / 380.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.2514, allocations: 270.5 kB / 380.5 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2516, allocations: 129.5 kB / 380.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.2518, allocations: 165.4 kB / 380.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.2518, allocations: 24.75 kB / 380.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.2522, allocations: 185.3 kB / 381 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.2523, allocations: 60.55 kB / 381.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.2524, allocations: 147.3 kB / 381.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.253, allocations: 0.4883 MB / 381.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.253, allocations: 0 / 381.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.253, allocations: 1.297 kB / 381.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.253, allocations: 0 / 381.7 MB, free: 9.008 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001529/0.2545, allocations: 0.7177 MB / 382.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2546, allocations: 9.953 kB / 382.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.2547, allocations: 71.45 kB / 382.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.2555, allocations: 124.4 kB / 382.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.2558, allocations: 261.3 kB / 382.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2559, allocations: 24.22 kB / 382.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.2559, allocations: 37.19 kB / 382.9 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.2564, allocations: 335.1 kB / 383.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2565, allocations: 4.938 kB / 383.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.2565, allocations: 9.5 kB / 383.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2565, allocations: 11.05 kB / 383.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.2569, allocations: 243.1 kB / 383.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.2586, allocations: 1.439 MB / 385 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.2592, allocations: 0.7061 MB / 385.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2593, allocations: 101.3 kB / 385.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/0.2594, allocations: 88.5 kB / 385.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.2594, allocations: 40.19 kB / 385.9 MB, free: 6.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.634e-06/0.2594, allocations: 1.844 kB / 385.9 MB, free: 6.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.00115/0.2606, allocations: 492.7 kB / 386.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.2606, allocations: 53.91 kB / 386.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2608, allocations: 177 kB / 386.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2608, allocations: 31.86 kB / 386.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.2609, allocations: 174.2 kB / 386.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2609, allocations: 83.5 kB / 386.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.261, allocations: 53.36 kB / 386.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.261, allocations: 326.8 kB / 387.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2612, allocations: 70 kB / 387.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2613, allocations: 132.1 kB / 387.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2616, allocations: 216.2 kB / 387.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2616, allocations: 1.031 kB / 387.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005192/0.2621, allocations: 332.1 kB / 388 MB, free: 5.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2621, allocations: 10.83 kB / 388 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2621, allocations: 2.375 kB / 388 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.2624, allocations: 72.5 kB / 388.1 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2626, allocations: 44.45 kB / 388.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.2641, allocations: 2.041 MB / 390.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2643, allocations: 28.59 kB / 390.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2643, allocations: 7.656 kB / 390.2 MB, free: 3.172 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2644, allocations: 147.9 kB / 390.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.2645, allocations: 23.5 kB / 390.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.265, allocations: 284.8 kB / 390.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.265, allocations: 2.469 kB / 390.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.265, allocations: 2.891 kB / 390.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2651, allocations: 0.6562 kB / 390.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.2659, allocations: 0.6841 MB / 391.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2659, allocations: 8 kB / 391.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2661, allocations: 30.62 kB / 391.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.2663, allocations: 68.16 kB / 391.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2663, allocations: 6.891 kB / 391.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.2678, allocations: 2.026 MB / 393.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2678, allocations: 1.312 kB / 393.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.2684, allocations: 452.7 kB / 393.9 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.2685, allocations: 115.3 kB / 394 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2685, allocations: 3.203 kB / 394 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2686, allocations: 13.38 kB / 394.1 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.2687, allocations: 22.2 kB / 394.1 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2687, allocations: 4.75 kB / 394.1 MB, free: 180 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.24e-05/0.2688, allocations: 126.1 kB / 394.2 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2688, allocations: 0 / 394.2 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.2693, allocations: 98.5 kB / 394.3 MB, free: 60 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.2703, allocations: 1.008 MB / 395.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.2709, allocations: 347.8 kB / 395.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.271, allocations: 0 / 395.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.2713, allocations: 251.2 kB / 395.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2716, allocations: 14.59 kB / 395.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.2747, allocations: 2.505 MB / 398.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.2751, allocations: 0.7566 MB / 399.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.2752, allocations: 25.11 kB / 399.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2754, allocations: 71.91 kB / 399.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2754, allocations: 0 / 399.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.303, allocations: 5.058 MB / 404.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.08, allocations: 13.02 kB / 404.3 MB, free: 11.25 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches