Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 254.5 MB, free: 15.29 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 64.14 kB / 373.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09867, allocations: 53.33 MB / 426.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.1869/0.2855, allocations: 6.734 MB / 433.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.289, allocations: 2.485 MB / 435.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.2894, allocations: 24.69 kB / 435.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.2928, allocations: 1.883 MB / 437.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.2941, allocations: 0.5477 MB / 438.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.2963, allocations: 1.331 MB / 439.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.2975, allocations: 1.116 MB / 440.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.2984, allocations: 0.7131 MB / 441.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.299, allocations: 489.8 kB / 442 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.2995, allocations: 0.617 MB / 442.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.2997, allocations: 99.91 kB / 442.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.3006, allocations: 445 kB / 443.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3007, allocations: 253 kB / 443.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.3012, allocations: 0.5593 MB / 443.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.303, allocations: 1.671 MB / 445.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.303, allocations: 5.062 kB / 445.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.303, allocations: 0 / 445.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.303, allocations: 0 / 445.6 MB, free: 2.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005696/0.3087, allocations: 2.057 MB / 447.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3087, allocations: 9.875 kB / 447.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.3089, allocations: 190.2 kB / 447.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.3124, allocations: 489.4 kB / 448.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3127, allocations: 315.7 kB / 448.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.3128, allocations: 99.83 kB / 448.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.313, allocations: 128.1 kB / 448.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.3152, allocations: 1.302 MB / 450.2 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.3152, allocations: 5.797 kB / 450.2 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.3153, allocations: 51.25 kB / 450.2 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.3153, allocations: 32.08 kB / 450.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.3178, allocations: 1.192 MB / 451.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006931/0.3247, allocations: 4.293 MB / 455.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.3274, allocations: 2.35 MB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/0.3283, allocations: 455.1 kB / 458.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.3285, allocations: 198.7 kB / 458.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3285, allocations: 48.11 kB / 458.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.745e-06/0.3285, allocations: 0 / 458.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01013/0.3387, allocations: 3.78 MB / 462.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3387, allocations: 94.59 kB / 462.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.3393, allocations: 392.8 kB / 463 MB, free: 8.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/0.3393, allocations: 46.45 kB / 463.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.3397, allocations: 470.2 kB / 463.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.34, allocations: 441.5 kB / 464 MB, free: 7.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.3404, allocations: 235.1 kB / 464.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3406, allocations: 376.2 kB / 464.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/0.3415, allocations: 432.6 kB / 465 MB, free: 6.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.3428, allocations: 0.6895 MB / 465.7 MB, free: 6.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.345, allocations: 1.171 MB / 466.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.345, allocations: 6.969 kB / 466.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003197/0.3482, allocations: 1.462 MB / 468.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3482, allocations: 9.312 kB / 468.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3482, allocations: 5.875 kB / 468.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.3488, allocations: 207.9 kB / 468.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.35, allocations: 286 kB / 468.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.3544, allocations: 4.378 MB / 473.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.3553, allocations: 75.83 kB / 473.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.3553, allocations: 56.02 kB / 473.3 MB, free: 500 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004659/0.3558, allocations: 268.1 kB / 473.6 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.356, allocations: 69.11 kB / 473.7 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.3589, allocations: 1.328 MB / 475 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.3589, allocations: 15.91 kB / 475 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3589, allocations: 3.375 kB / 475 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.3589, allocations: 9.125 kB / 475 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/0.3637, allocations: 2.605 MB / 477.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3638, allocations: 0 / 477.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.3647, allocations: 215.8 kB / 477.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.3652, allocations: 170.2 kB / 478 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.3653, allocations: 29.06 kB / 478 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/0.3695, allocations: 4.185 MB / 482.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.3695, allocations: 3.984 kB / 482.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.3733, allocations: 1.865 MB / 484.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.3738, allocations: 228.6 kB / 484.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.3739, allocations: 20.88 kB / 484.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.3746, allocations: 59.94 kB / 484.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3748, allocations: 93.05 kB / 484.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.3749, allocations: 39.92 kB / 484.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.3752, allocations: 275.1 kB / 484.8 MB, free: 5.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3752, allocations: 0 / 484.8 MB, free: 5.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001209/0.3764, allocations: 303.9 kB / 485.1 MB, free: 5.363 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004239/0.3806, allocations: 2.482 MB / 487.6 MB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.3836, allocations: 1.391 MB / 489 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3836, allocations: 192 / 489 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.3851, allocations: 0.8155 MB / 489.8 MB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.3856, allocations: 73.48 kB / 489.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.399, allocations: 7.562 MB / 497.4 MB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.3997, allocations: 1.009 MB / 498.4 MB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.4003, allocations: 146.6 kB / 498.6 MB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/0.4008, allocations: 351.3 kB / 498.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4008, allocations: 0 / 498.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05862/0.4594, allocations: 17.65 MB / 0.5044 GB, free: 5.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.95/25.41, allocations: 16.61 kB / 0.5045 GB, free: 5.648 MB / 414.1 MB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 27.88889093371108]