Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 65.48 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007139/0.3213, allocations: 5.378 MB / 0.563 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.3244, allocations: 1.658 MB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.3247, allocations: 20 kB / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.3285, allocations: 1.61 MB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.3297, allocations: 313.6 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.331, allocations: 0.5257 MB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3321, allocations: 0.793 MB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3331, allocations: 0.6409 MB / 0.5685 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.3336, allocations: 358.7 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.3342, allocations: 466.2 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3344, allocations: 72 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.3348, allocations: 191.9 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.335, allocations: 183.3 kB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.3354, allocations: 422 kB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.3368, allocations: 1.183 MB / 0.5712 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3368, allocations: 0 / 0.5712 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3368, allocations: 4 kB / 0.5712 GB, free: 9.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.3369, allocations: 0 / 0.5712 GB, free: 9.91 MB / 414.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.003477/0.3403, allocations: 1.293 MB / 0.5725 GB, free: 8.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3404, allocations: 16.03 kB / 0.5725 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.652e-05/0.3404, allocations: 26.19 kB / 0.5725 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.3406, allocations: 152.4 kB / 0.5727 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.3422, allocations: 232.2 kB / 0.5729 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3424, allocations: 206 kB / 0.5731 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.3425, allocations: 82.12 kB / 0.5732 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3426, allocations: 96 kB / 0.5733 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.3442, allocations: 0.9438 MB / 0.5742 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.3443, allocations: 3.953 kB / 0.5742 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.3443, allocations: 44 kB / 0.5742 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.3444, allocations: 27.94 kB / 0.5743 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.3457, allocations: 0.7222 MB / 0.575 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.3509, allocations: 3.676 MB / 0.5786 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.3526, allocations: 0.7824 MB / 0.5793 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.353, allocations: 268.4 kB / 0.5796 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.3531, allocations: 24.3 kB / 0.5796 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.3531, allocations: 42.89 kB / 0.5797 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.3531, allocations: 0 / 0.5797 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002711/0.3558, allocations: 1.015 MB / 0.5806 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.3559, allocations: 144.5 kB / 0.5808 GB, free: 15.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.3563, allocations: 316.1 kB / 0.5811 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.3564, allocations: 37.7 kB / 0.5811 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.3566, allocations: 407.8 kB / 0.5815 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3568, allocations: 242 kB / 0.5817 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.3571, allocations: 150.6 kB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3573, allocations: 354.7 kB / 0.5822 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.3576, allocations: 201.9 kB / 0.5824 GB, free: 13.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.3582, allocations: 400.6 kB / 0.5828 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.3591, allocations: 0.622 MB / 0.5834 GB, free: 12.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3591, allocations: 0 / 0.5834 GB, free: 12.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001626/0.3607, allocations: 0.8813 MB / 0.5843 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3607, allocations: 14.44 kB / 0.5843 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3608, allocations: 4 kB / 0.5843 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/0.3614, allocations: 227.6 kB / 0.5845 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.3619, allocations: 139.8 kB / 0.5846 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.3684, allocations: 6.3 MB / 0.5908 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.3689, allocations: 83.33 kB / 0.5909 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.3689, allocations: 39.94 kB / 0.5909 GB, free: 4.621 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.0003703/0.3693, allocations: 229.6 kB / 0.5911 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3695, allocations: 43.72 kB / 0.5912 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.3708, allocations: 0.6822 MB / 0.5918 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3709, allocations: 11.94 kB / 0.5918 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3709, allocations: 8 kB / 0.5918 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3709, allocations: 7.922 kB / 0.5919 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.3736, allocations: 1.522 MB / 0.5933 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3736, allocations: 0 / 0.5933 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.3738, allocations: 71.91 kB / 0.5934 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/0.3744, allocations: 211.2 kB / 0.5936 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.3744, allocations: 16 kB / 0.5936 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/0.3804, allocations: 6.296 MB / 0.5998 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3804, allocations: 4.031 kB / 0.5998 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.3821, allocations: 1.191 MB / 0.6009 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3822, allocations: 47.62 kB / 0.601 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3823, allocations: 12 kB / 0.601 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.3827, allocations: 16.06 kB / 0.601 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3828, allocations: 63.77 kB / 0.6011 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.3828, allocations: 24.36 kB / 0.6011 GB, free: 9.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.3831, allocations: 211 kB / 0.6013 GB, free: 9.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 0.6013 GB, free: 9.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001014/0.3841, allocations: 283.3 kB / 0.6016 GB, free: 9.109 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.002209/0.3863, allocations: 1.777 MB / 0.6033 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.388, allocations: 1.047 MB / 0.6043 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.388, allocations: 0 / 0.6043 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.389, allocations: 0.7565 MB / 0.6051 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.3897, allocations: 45.95 kB / 0.6051 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/0.3973, allocations: 5.135 MB / 0.6101 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.398, allocations: 0.9111 MB / 0.611 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.3982, allocations: 72.53 kB / 0.6111 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.3985, allocations: 235.3 kB / 0.6113 GB, free: 14.68 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3985, allocations: 112 / 0.6113 GB, free: 14.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07076/0.4693, allocations: 12.57 MB / 0.6236 GB, free: 2.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.15, allocations: 0 / 0.6236 GB, free: 2.285 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.161007400020026]