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.001559/0.001559, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001919/0.001919, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.001994/0.001994, allocations: 68.77 kB / 379.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2397, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.01011/0.2499, allocations: 5.153 MB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.2554, allocations: 2.183 MB / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.2559, allocations: 16 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004592/0.2605, allocations: 1.415 MB / 441.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.2624, allocations: 433.3 kB / 441.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.2658, allocations: 1.215 MB / 442.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2673, allocations: 0.755 MB / 443.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.2686, allocations: 0.5013 MB / 444.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.2692, allocations: 338.8 kB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007852/0.27, allocations: 434.3 kB / 444.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2701, allocations: 68 kB / 444.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.2715, allocations: 423.6 kB / 445.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.2717, allocations: 167.4 kB / 445.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.2723, allocations: 382.1 kB / 445.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.2745, allocations: 1.217 MB / 447.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2745, allocations: 0 / 447.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2745, allocations: 0 / 447.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2745, allocations: 0 / 447.1 MB, free: 8.25 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.006959/0.2815, allocations: 1.417 MB / 448.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2815, allocations: 12.03 kB / 448.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.2863, allocations: 360.1 kB / 448.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.2867, allocations: 201.6 kB / 449 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2868, allocations: 70.31 kB / 449.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.2871, allocations: 80.38 kB / 449.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.2896, allocations: 0.8757 MB / 450.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.2896, allocations: 3.953 kB / 450.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.2897, allocations: 36 kB / 450.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.2898, allocations: 20 kB / 450.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.2925, allocations: 0.8003 MB / 450.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006677/0.2992, allocations: 2.775 MB / 453.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.3007, allocations: 0.5059 MB / 454.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.3015, allocations: 218.2 kB / 454.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.3016, allocations: 28.45 kB / 454.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.3017, allocations: 43.06 kB / 454.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.606e-06/0.3017, allocations: 0 / 454.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008906/0.3106, allocations: 2.163 MB / 456.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.3106, allocations: 85.61 kB / 456.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.311, allocations: 324.3 kB / 457.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.3111, allocations: 37.7 kB / 457.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.3113, allocations: 371.9 kB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.3115, allocations: 226.1 kB / 457.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.3117, allocations: 142.6 kB / 457.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3119, allocations: 350.7 kB / 458.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.3126, allocations: 273.8 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009447/0.3136, allocations: 0.5004 MB / 458.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.3153, allocations: 0.8088 MB / 459.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3153, allocations: 0 / 459.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00213/0.3174, allocations: 0.9009 MB / 460.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.3174, allocations: 11.94 kB / 460.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3175, allocations: 12 kB / 460.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.3177, allocations: 81.75 kB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.3186, allocations: 191.7 kB / 460.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.321, allocations: 2.669 MB / 463.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.3216, allocations: 60.02 kB / 463.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.3217, allocations: 39.98 kB / 463.7 MB, free: 6.812 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.0003353/0.322, allocations: 217.5 kB / 463.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3221, allocations: 47.66 kB / 463.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.324, allocations: 0.718 MB / 464.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.324, allocations: 11.98 kB / 464.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.324, allocations: 0 / 464.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.324, allocations: 7.922 kB / 464.7 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.3268, allocations: 1.38 MB / 466.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3268, allocations: 4 kB / 466.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.3274, allocations: 131.8 kB / 466.2 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.3276, allocations: 65.61 kB / 466.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.3277, allocations: 15.98 kB / 466.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.33, allocations: 2.646 MB / 468.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.33, allocations: 4.062 kB / 468.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.3325, allocations: 1.078 MB / 470 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.3327, allocations: 91.61 kB / 470.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.3328, allocations: 8 kB / 470.1 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.3333, allocations: 47.95 kB / 470.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3334, allocations: 44.47 kB / 470.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.3335, allocations: 23.98 kB / 470.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.3337, allocations: 223.1 kB / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 0 / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007303/0.3345, allocations: 176 kB / 470.6 MB, free: 15.57 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.0002921/0.3348, allocations: 171 kB / 470.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.3368, allocations: 0.8769 MB / 471.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3368, allocations: 0 / 471.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3378, allocations: 0.5234 MB / 472.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3383, allocations: 53.03 kB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.341, allocations: 1.204 MB / 473.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.3415, allocations: 0.881 MB / 474.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003719/0.3419, allocations: 92.5 kB / 474.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.342, allocations: 47.42 kB / 474.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.342, allocations: 0 / 474.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01504/0.3571, allocations: 7.048 MB / 481.5 MB, free: 4.613 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.665670187212527]