Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3728, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007812/0.3807, allocations: 5.139 MB / 428.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.385, allocations: 2.117 MB / 430.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.3854, allocations: 16 kB / 430.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.3889, allocations: 1.415 MB / 432.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.3905, allocations: 0.5786 MB / 432.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.3927, allocations: 1.069 MB / 433.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3938, allocations: 0.755 MB / 434.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009172/0.3947, allocations: 0.58 MB / 435.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.3952, allocations: 338.8 kB / 435.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3958, allocations: 438.3 kB / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.79e-05/0.3959, allocations: 68 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009124/0.3968, allocations: 395.6 kB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3969, allocations: 167.4 kB / 436.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.3973, allocations: 382.1 kB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3989, allocations: 1.199 MB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.399, allocations: 0 / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.399, allocations: 0 / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.399, allocations: 4 kB / 438 MB, free: 15.95 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.00442/0.4034, allocations: 1.398 MB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4034, allocations: 12.03 kB / 439.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.154e-05/0.4035, allocations: 22.19 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.4036, allocations: 135.4 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.4061, allocations: 384.1 kB / 440 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.4064, allocations: 205.5 kB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.4065, allocations: 62.38 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.4066, allocations: 87.94 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.4084, allocations: 0.8796 MB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.4084, allocations: 4 kB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.4085, allocations: 28 kB / 441.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.4085, allocations: 27.94 kB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.4104, allocations: 0.8042 MB / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.4156, allocations: 2.763 MB / 444.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.4167, allocations: 0.5117 MB / 445.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.4173, allocations: 222.2 kB / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.011e-05/0.4174, allocations: 16.48 kB / 445.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.4174, allocations: 43.05 kB / 445.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.797e-06/0.4174, allocations: 0 / 445.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008418/0.4258, allocations: 2.198 MB / 447.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.4259, allocations: 85.61 kB / 447.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.4263, allocations: 312.5 kB / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.4264, allocations: 37.7 kB / 448.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.4266, allocations: 379.8 kB / 448.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.4268, allocations: 226.1 kB / 448.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.4271, allocations: 146.5 kB / 449 MB, free: 4.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4272, allocations: 350.7 kB / 449.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008114/0.428, allocations: 281.8 kB / 449.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.429, allocations: 0.5082 MB / 450.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.4308, allocations: 0.8127 MB / 450.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4308, allocations: 0 / 450.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00223/0.4331, allocations: 0.9166 MB / 451.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.4331, allocations: 8 kB / 451.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4331, allocations: 11.98 kB / 451.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002821/0.4334, allocations: 69.67 kB / 451.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.4343, allocations: 203.7 kB / 452.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.4365, allocations: 2.67 MB / 454.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.4372, allocations: 59.94 kB / 454.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.4372, allocations: 39.98 kB / 454.9 MB, free: 14.28 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.0003211/0.4375, allocations: 213.7 kB / 455.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.4376, allocations: 47.66 kB / 455.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.4397, allocations: 0.7453 MB / 455.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4397, allocations: 8 kB / 455.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4397, allocations: 0 / 455.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.4397, allocations: 7.922 kB / 455.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.4426, allocations: 1.391 MB / 457.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.4426, allocations: 4 kB / 457.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.4433, allocations: 131.8 kB / 457.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.4435, allocations: 57.67 kB / 457.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.4435, allocations: 15.98 kB / 457.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.4458, allocations: 2.653 MB / 460.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4458, allocations: 3.938 kB / 460.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.4485, allocations: 1.093 MB / 461.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.4488, allocations: 87.67 kB / 461.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.4488, allocations: 12 kB / 461.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/0.4494, allocations: 52.02 kB / 461.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.4495, allocations: 48.39 kB / 461.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.4495, allocations: 16 kB / 461.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.4498, allocations: 219.1 kB / 461.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4498, allocations: 0 / 461.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007573/0.4505, allocations: 179.9 kB / 461.9 MB, free: 6.98 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.003266/0.4538, allocations: 1.703 MB / 463.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.4562, allocations: 0.8924 MB / 464.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.4562, allocations: 3.938 kB / 464.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.4573, allocations: 0.5235 MB / 465 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.4579, allocations: 55.75 kB / 465 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.468, allocations: 5.224 MB / 470.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.4685, allocations: 0.8848 MB / 471.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004189/0.4689, allocations: 96.52 kB / 471.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.4693, allocations: 223.3 kB / 471.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4693, allocations: 0 / 471.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5785/1.048, allocations: 11.96 MB / 483.4 MB, free: 1.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.37, allocations: 16.72 kB / 483.4 MB, free: 1.199 MB / 382.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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: 18.15986828500172]