Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.00145/0.00145, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001604/0.001604, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 55.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2871, allocations: 53.4 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006432/0.2935, allocations: 4.584 MB / 436.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.2978, allocations: 2.022 MB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.2983, allocations: 16 kB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.3018, allocations: 1.298 MB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.3033, allocations: 421.3 kB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.3057, allocations: 1.135 MB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.3069, allocations: 0.7472 MB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.3079, allocations: 0.5831 MB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.3085, allocations: 338.8 kB / 443 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005272/0.309, allocations: 438.3 kB / 443.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3091, allocations: 68 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.3101, allocations: 411.6 kB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3103, allocations: 163.4 kB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.3106, allocations: 306.6 kB / 444.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.3123, allocations: 1.222 MB / 445.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3123, allocations: 0 / 445.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3123, allocations: 0 / 445.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3123, allocations: 4 kB / 445.6 MB, free: 8.703 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.004579/0.3169, allocations: 1.416 MB / 447 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3169, allocations: 8.031 kB / 447.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.666e-05/0.3169, allocations: 22.19 kB / 447.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.3171, allocations: 135.4 kB / 447.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.3198, allocations: 368.1 kB / 447.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.32, allocations: 197.6 kB / 447.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.3201, allocations: 66.38 kB / 447.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3203, allocations: 87.94 kB / 447.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.322, allocations: 0.8969 MB / 448.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.3221, allocations: 3.953 kB / 448.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.3222, allocations: 36 kB / 448.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3222, allocations: 20 kB / 448.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.324, allocations: 0.7964 MB / 449.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.3283, allocations: 2.406 MB / 452.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3294, allocations: 0.505 MB / 452.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.3299, allocations: 210.2 kB / 452.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.3299, allocations: 28.47 kB / 452.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.33, allocations: 43 kB / 452.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.475e-06/0.33, allocations: 0 / 452.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00705/0.337, allocations: 2.171 MB / 455 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3371, allocations: 81.61 kB / 455.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3374, allocations: 324.4 kB / 455.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.3375, allocations: 37.7 kB / 455.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.3377, allocations: 371.9 kB / 455.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.3379, allocations: 222.1 kB / 456 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.3381, allocations: 150.6 kB / 456.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3383, allocations: 354.7 kB / 456.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007126/0.339, allocations: 269.8 kB / 456.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.3399, allocations: 0.5255 MB / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.3415, allocations: 0.8049 MB / 458.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3415, allocations: 8 kB / 458.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002065/0.3436, allocations: 0.9046 MB / 459 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3436, allocations: 8 kB / 459 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3436, allocations: 8 kB / 459 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.3439, allocations: 69.98 kB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.3447, allocations: 203.7 kB / 459.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.3468, allocations: 2.657 MB / 462 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.3475, allocations: 59.94 kB / 462 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.3475, allocations: 36 kB / 462.1 MB, free: 7.473 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.0003154/0.3478, allocations: 221.7 kB / 462.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.3479, allocations: 47.66 kB / 462.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.3498, allocations: 0.7142 MB / 463 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3499, allocations: 8 kB / 463 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3499, allocations: 3.938 kB / 463.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3499, allocations: 3.984 kB / 463.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.3525, allocations: 1.313 MB / 464.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3525, allocations: 0 / 464.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.3531, allocations: 131.8 kB / 464.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.3533, allocations: 61.67 kB / 464.6 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.3533, allocations: 15.98 kB / 464.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.3553, allocations: 2.634 MB / 467.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.3553, allocations: 4.062 kB / 467.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.3579, allocations: 1.082 MB / 468.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.3581, allocations: 83.67 kB / 468.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.3582, allocations: 12 kB / 468.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.3586, allocations: 48.02 kB / 468.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3588, allocations: 52.34 kB / 468.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.3588, allocations: 19.98 kB / 468.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.3591, allocations: 223.1 kB / 468.7 MB, free: 492 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3591, allocations: 3.938 kB / 468.7 MB, free: 488 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.3598, allocations: 172 kB / 468.9 MB, free: 316 kB / 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.002913/0.3627, allocations: 1.687 MB / 470.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.3646, allocations: 0.8807 MB / 471.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3646, allocations: 0 / 471.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.3656, allocations: 0.5195 MB / 472 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3661, allocations: 45.16 kB / 472 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.3749, allocations: 5.15 MB / 477.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3752, allocations: 282.7 kB / 477.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003649/0.3756, allocations: 88.52 kB / 477.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.3759, allocations: 227.3 kB / 477.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3759, allocations: 0 / 477.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/0.7044, allocations: 12.24 MB / 490 MB, free: 11.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.85, allocations: 8.047 kB / 490 MB, free: 11 MB / 398.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.66139447002206]