Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001828/0.001828, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002192/0.002192, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.77 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2616, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007427/0.2691, allocations: 5.15 MB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.2733, allocations: 2.176 MB / 439.4 MB, free: 48 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.2737, allocations: 20 kB / 439.4 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.277, allocations: 1.41 MB / 440.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2783, allocations: 425.3 kB / 441.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.2807, allocations: 1.218 MB / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2818, allocations: 0.7472 MB / 443.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/0.2826, allocations: 0.4992 MB / 443.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.2831, allocations: 338.8 kB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.2836, allocations: 430.3 kB / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.2837, allocations: 68 kB / 444.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000941/0.2846, allocations: 415.6 kB / 444.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.2848, allocations: 167.4 kB / 445.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.2851, allocations: 382.1 kB / 445.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.2869, allocations: 1.218 MB / 446.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2869, allocations: 4 kB / 446.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2869, allocations: 0 / 446.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.2869, allocations: 0 / 446.7 MB, free: 8.727 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.004743/0.2917, allocations: 1.489 MB / 448.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2917, allocations: 8.031 kB / 448.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.2943, allocations: 364.1 kB / 448.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.2946, allocations: 267.3 kB / 448.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.2947, allocations: 62.38 kB / 448.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.2949, allocations: 84.38 kB / 448.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.2966, allocations: 0.8757 MB / 449.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.2967, allocations: 7.953 kB / 449.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/0.2968, allocations: 28 kB / 449.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.2968, allocations: 20 kB / 449.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.2987, allocations: 0.8041 MB / 450.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005123/0.3038, allocations: 3.026 MB / 453.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3051, allocations: 0.9577 MB / 454.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.3057, allocations: 218.4 kB / 454.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.3059, allocations: 186.7 kB / 455 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.3059, allocations: 43.06 kB / 455.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.995e-06/0.3059, allocations: 0 / 455.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007737/0.3137, allocations: 2.389 MB / 457.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.3138, allocations: 85.67 kB / 457.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.3142, allocations: 316.4 kB / 457.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.3142, allocations: 37.7 kB / 457.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.3145, allocations: 379.8 kB / 458.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.3147, allocations: 226.1 kB / 458.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.3149, allocations: 138.6 kB / 458.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3151, allocations: 354.7 kB / 459 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007737/0.3158, allocations: 277.8 kB / 459.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3169, allocations: 0.5042 MB / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.3188, allocations: 0.8076 MB / 460.6 MB, free: 10 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3188, allocations: 4 kB / 460.6 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002266/0.3211, allocations: 0.895 MB / 461.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3211, allocations: 11.94 kB / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3211, allocations: 8 kB / 461.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.3214, allocations: 73.67 kB / 461.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.3223, allocations: 195.7 kB / 461.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3248, allocations: 2.865 MB / 464.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.3255, allocations: 63.89 kB / 464.7 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/0.3256, allocations: 39.98 kB / 464.7 MB, free: 5.551 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.000391/0.326, allocations: 221.6 kB / 464.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3261, allocations: 43.7 kB / 465 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.3281, allocations: 0.7195 MB / 465.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3281, allocations: 8 kB / 465.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3281, allocations: 0 / 465.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3281, allocations: 11.92 kB / 465.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.3312, allocations: 1.413 MB / 467.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3312, allocations: 0 / 467.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.3319, allocations: 135.8 kB / 467.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.3321, allocations: 57.67 kB / 467.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3322, allocations: 19.98 kB / 467.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.3347, allocations: 2.852 MB / 470.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3347, allocations: 0 / 470.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.3374, allocations: 1.075 MB / 471.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.3377, allocations: 176.8 kB / 471.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.3378, allocations: 16.06 kB / 471.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.3383, allocations: 39.95 kB / 471.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3384, allocations: 48.64 kB / 471.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.3385, allocations: 19.98 kB / 471.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.3387, allocations: 215.1 kB / 471.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3387, allocations: 7.875 kB / 471.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007868/0.3395, allocations: 187.9 kB / 472 MB, free: 13.9 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.0003222/0.3398, allocations: 167 kB / 472.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.342, allocations: 0.8799 MB / 473 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.342, allocations: 1.25 kB / 473 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.343, allocations: 0.5199 MB / 473.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3435, allocations: 55.83 kB / 473.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.3463, allocations: 1.207 MB / 474.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.3469, allocations: 0.8849 MB / 475.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003871/0.3472, allocations: 84.52 kB / 475.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3474, allocations: 55.41 kB / 475.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3474, allocations: 0 / 475.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01456/0.362, allocations: 6.859 MB / 482.7 MB, free: 3.129 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.886609205044806]