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.001904/0.001904, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002539/0.002539, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.506/1.506, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.001815/0.001815, allocations: 59.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3018, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00723/0.309, allocations: 5.136 MB / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.3132, allocations: 2.187 MB / 439.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.3136, allocations: 16 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.317, allocations: 1.415 MB / 440.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3183, allocations: 425.3 kB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.3208, allocations: 1.228 MB / 442.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.322, allocations: 0.7433 MB / 443.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009928/0.3229, allocations: 0.5724 MB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.3235, allocations: 350.8 kB / 444 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.324, allocations: 430.3 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3241, allocations: 71.94 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3252, allocations: 419.5 kB / 444.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3253, allocations: 159.4 kB / 445.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.3257, allocations: 386.1 kB / 445.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.3274, allocations: 1.225 MB / 446.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3274, allocations: 0 / 446.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3274, allocations: 0 / 446.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3274, allocations: 0 / 446.7 MB, free: 7.945 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.004578/0.332, allocations: 1.417 MB / 448.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.332, allocations: 12.03 kB / 448.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.383e-05/0.3321, allocations: 22.19 kB / 448.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.3322, allocations: 127.4 kB / 448.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.3348, allocations: 368.1 kB / 448.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.335, allocations: 193.6 kB / 448.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/0.3351, allocations: 66.38 kB / 448.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.3353, allocations: 91.92 kB / 449 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.337, allocations: 0.8718 MB / 449.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.3371, allocations: 7.953 kB / 449.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.3371, allocations: 32 kB / 449.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.3372, allocations: 20 kB / 449.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.339, allocations: 0.7964 MB / 450.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.3441, allocations: 2.775 MB / 453.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3452, allocations: 0.5161 MB / 454 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.3457, allocations: 218.2 kB / 454.2 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.3458, allocations: 24.47 kB / 454.2 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3459, allocations: 43.06 kB / 454.3 MB, free: 108 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.365e-06/0.3459, allocations: 0 / 454.3 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007756/0.3536, allocations: 2.163 MB / 456.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.3537, allocations: 93.61 kB / 456.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3541, allocations: 316.4 kB / 456.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/0.3542, allocations: 33.7 kB / 456.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.3545, allocations: 375.9 kB / 457.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.3547, allocations: 226.1 kB / 457.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.355, allocations: 142.6 kB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3551, allocations: 350.7 kB / 457.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/0.3559, allocations: 273.8 kB / 458.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.3569, allocations: 0.5043 MB / 458.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.3587, allocations: 0.8088 MB / 459.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3587, allocations: 0 / 459.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002218/0.3609, allocations: 0.9087 MB / 460.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3609, allocations: 8 kB / 460.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.361, allocations: 8 kB / 460.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.3613, allocations: 69.8 kB / 460.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.3621, allocations: 195.6 kB / 460.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.3646, allocations: 2.669 MB / 463.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.3654, allocations: 68 kB / 463.4 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.3655, allocations: 32 kB / 463.5 MB, free: 6.352 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.0004163/0.3659, allocations: 217.6 kB / 463.7 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3661, allocations: 47.66 kB / 463.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3681, allocations: 0.7181 MB / 464.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.3681, allocations: 15.92 kB / 464.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3681, allocations: 3.938 kB / 464.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.3682, allocations: 3.984 kB / 464.5 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.3714, allocations: 1.387 MB / 465.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3714, allocations: 0 / 465.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.372, allocations: 131.8 kB / 466 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.3723, allocations: 61.66 kB / 466.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.3723, allocations: 16 kB / 466.1 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.3747, allocations: 2.645 MB / 468.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.3747, allocations: 8.062 kB / 468.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.3774, allocations: 1.078 MB / 469.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.3777, allocations: 87.67 kB / 469.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.3778, allocations: 12 kB / 469.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.3784, allocations: 43.95 kB / 469.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3785, allocations: 44.41 kB / 470 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.3786, allocations: 24.05 kB / 470 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.3789, allocations: 223.1 kB / 470.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3789, allocations: 0 / 470.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008498/0.3797, allocations: 172 kB / 470.4 MB, free: 15.11 MB / 382.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.00343/0.3832, allocations: 1.68 MB / 472.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.3855, allocations: 0.8768 MB / 473 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3855, allocations: 0 / 473 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3866, allocations: 0.5312 MB / 473.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.3872, allocations: 45.02 kB / 473.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.3983, allocations: 5.169 MB / 478.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.399, allocations: 0.8771 MB / 479.6 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.3994, allocations: 92.5 kB / 479.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.3998, allocations: 223.3 kB / 479.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.3998, allocations: 4 kB / 479.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/0.4443, allocations: 12.05 MB / 491.9 MB, free: 9.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/14.96, allocations: 7.609 kB / 491.9 MB, free: 9.316 MB / 398.1 MB " [Timeout remaining time 645] (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: 17.492217535036616]