Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.00128/0.00128, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001479/0.001479, allocations: 208 kB / 23.72 MB, free: 4.391 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.371/1.371, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2871, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006414/0.2935, allocations: 4.561 MB / 435.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.2972, allocations: 2.016 MB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.2974, allocations: 16 kB / 437.7 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.3005, allocations: 1.299 MB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.3014, allocations: 417.3 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.3036, allocations: 1.138 MB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007986/0.3044, allocations: 0.7277 MB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.3052, allocations: 0.5769 MB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.3056, allocations: 342.8 kB / 442.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.3061, allocations: 370.3 kB / 442.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3062, allocations: 68 kB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006923/0.3069, allocations: 387.6 kB / 443 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.307, allocations: 171.4 kB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.3073, allocations: 306.6 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3087, allocations: 1.207 MB / 444.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3087, allocations: 0 / 444.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3087, allocations: 0 / 444.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3087, allocations: 7.938 kB / 444.7 MB, free: 9.012 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004153/0.3128, allocations: 1.406 MB / 446.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3129, allocations: 12.03 kB / 446.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.313, allocations: 131.4 kB / 446.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.3155, allocations: 360.1 kB / 446.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3157, allocations: 198.3 kB / 446.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.3158, allocations: 66.38 kB / 446.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.316, allocations: 80.38 kB / 446.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3177, allocations: 0.9009 MB / 447.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.3177, allocations: 3.953 kB / 447.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.3178, allocations: 36 kB / 447.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.3178, allocations: 24 kB / 447.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.3196, allocations: 0.7769 MB / 448.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.3238, allocations: 2.402 MB / 451 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.325, allocations: 0.5141 MB / 451.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.3255, allocations: 214.2 kB / 451.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/0.3256, allocations: 24.48 kB / 451.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3256, allocations: 39.06 kB / 451.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.394e-06/0.3256, allocations: 4 kB / 451.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00723/0.3328, allocations: 2.171 MB / 454 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3329, allocations: 85.61 kB / 454.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.3333, allocations: 312.3 kB / 454.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.3333, allocations: 37.7 kB / 454.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.3336, allocations: 371.9 kB / 454.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3338, allocations: 226 kB / 455 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.334, allocations: 150.5 kB / 455.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3342, allocations: 350.7 kB / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/0.3349, allocations: 265.8 kB / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/0.3359, allocations: 0.5372 MB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.3376, allocations: 0.8049 MB / 457.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3376, allocations: 0 / 457.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002061/0.3397, allocations: 0.8928 MB / 458 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.3397, allocations: 10.66 kB / 458 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3397, allocations: 11.94 kB / 458 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.34, allocations: 66.2 kB / 458.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.3408, allocations: 207.7 kB / 458.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.343, allocations: 2.653 MB / 460.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.3435, allocations: 63.89 kB / 461 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.3436, allocations: 39.98 kB / 461 MB, free: 7.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.3439, allocations: 225.6 kB / 461.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.344, allocations: 39.7 kB / 461.3 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.3459, allocations: 0.722 MB / 462 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3459, allocations: 11.94 kB / 462 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3459, allocations: 0 / 462 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3459, allocations: 3.984 kB / 462 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.3486, allocations: 1.306 MB / 463.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3486, allocations: 0 / 463.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.3492, allocations: 127.8 kB / 463.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/0.3494, allocations: 65.66 kB / 463.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.3494, allocations: 15.98 kB / 463.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.3516, allocations: 2.634 MB / 466.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3516, allocations: 0 / 466.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.3542, allocations: 1.078 MB / 467.2 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.3545, allocations: 91.66 kB / 467.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.3545, allocations: 12 kB / 467.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.355, allocations: 52 kB / 467.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3551, allocations: 48.41 kB / 467.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.3552, allocations: 16 kB / 467.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.3554, allocations: 207.1 kB / 467.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 467.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007089/0.3561, allocations: 179.9 kB / 467.8 MB, free: 0.6953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003033/0.3591, allocations: 1.68 MB / 469.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.3611, allocations: 0.869 MB / 470.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3611, allocations: 4.125 kB / 470.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009988/0.3621, allocations: 0.5234 MB / 470.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3625, allocations: 56.59 kB / 471 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008631/0.3711, allocations: 5.068 MB / 476 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3714, allocations: 286.6 kB / 476.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003498/0.3717, allocations: 88.5 kB / 476.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.3721, allocations: 231.3 kB / 476.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3721, allocations: 0 / 476.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0842/0.4563, allocations: 12.19 MB / 488.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.35, allocations: 10.81 kB / 488.8 MB, free: 11.53 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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: 17.061459963209927]