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.001503/0.001503, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.001405/0.001405, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.533/1.533, allocations: 230.4 MB / 255.4 MB, free: 15 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.002001/0.002001, allocations: 75.77 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 53.31 MB / 428.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.2017/0.3058, allocations: 5.102 MB / 433.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.3091, allocations: 2.18 MB / 435.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.3094, allocations: 16.81 kB / 435.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.3121, allocations: 1.413 MB / 436.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009609/0.3131, allocations: 427.4 kB / 437.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.315, allocations: 1.21 MB / 438.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.3158, allocations: 0.7475 MB / 439.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006918/0.3165, allocations: 0.5048 MB / 439.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.3169, allocations: 333 kB / 440 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.3173, allocations: 440.5 kB / 440.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.3174, allocations: 68.34 kB / 440.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.3181, allocations: 413.2 kB / 440.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.3182, allocations: 164.7 kB / 441.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.3185, allocations: 383.7 kB / 441.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3198, allocations: 1.22 MB / 442.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3198, allocations: 0 / 442.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3198, allocations: 0 / 442.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3198, allocations: 0 / 442.6 MB, free: 4.996 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.004017/0.3239, allocations: 1.491 MB / 444.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3239, allocations: 9.656 kB / 444.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.3265, allocations: 363.5 kB / 444.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3268, allocations: 268.8 kB / 444.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.3269, allocations: 68.06 kB / 444.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.327, allocations: 82.28 kB / 444.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3286, allocations: 0.8696 MB / 445.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.3286, allocations: 5.562 kB / 445.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.3287, allocations: 34.44 kB / 445.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3287, allocations: 20.22 kB / 445.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.3304, allocations: 0.7954 MB / 446.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.3343, allocations: 3.021 MB / 449.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.3354, allocations: 0.9674 MB / 450.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.3358, allocations: 217.3 kB / 450.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.336, allocations: 182.2 kB / 451 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.336, allocations: 40.55 kB / 451.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.485e-06/0.336, allocations: 3.938 kB / 451.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007445/0.3435, allocations: 2.394 MB / 453.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.3435, allocations: 85.11 kB / 453.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.344, allocations: 319.5 kB / 453.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.344, allocations: 40.86 kB / 453.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.3443, allocations: 376.4 kB / 454.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.3445, allocations: 218.7 kB / 454.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.3447, allocations: 145.2 kB / 454.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3449, allocations: 359.8 kB / 455 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.3457, allocations: 271.8 kB / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.3467, allocations: 0.4992 MB / 455.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.3483, allocations: 0.8134 MB / 456.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3483, allocations: 1.344 kB / 456.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002099/0.3504, allocations: 0.8933 MB / 457.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.3504, allocations: 12.59 kB / 457.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3504, allocations: 7.656 kB / 457.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.3507, allocations: 74.03 kB / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/0.3516, allocations: 199.4 kB / 457.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.3541, allocations: 2.866 MB / 460.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.3548, allocations: 64.64 kB / 460.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.3549, allocations: 38.97 kB / 460.7 MB, free: 9.336 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.0003665/0.3552, allocations: 209.9 kB / 460.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3554, allocations: 43.45 kB / 460.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.3574, allocations: 0.7351 MB / 461.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3575, allocations: 5.344 kB / 461.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3575, allocations: 1.156 kB / 461.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3575, allocations: 9.234 kB / 461.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.3604, allocations: 1.421 MB / 463.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3604, allocations: 0 / 463.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.3611, allocations: 125.9 kB / 463.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.3613, allocations: 67.95 kB / 463.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.3614, allocations: 16.33 kB / 463.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.3638, allocations: 2.844 MB / 466.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3638, allocations: 1.328 kB / 466.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.3664, allocations: 1.081 MB / 467.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.3667, allocations: 167 kB / 467.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.3668, allocations: 10.44 kB / 467.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.3673, allocations: 51.41 kB / 467.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3674, allocations: 52.72 kB / 467.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.3675, allocations: 20.36 kB / 467.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3678, allocations: 214 kB / 467.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3678, allocations: 0 / 467.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008386/0.3686, allocations: 182 kB / 467.9 MB, free: 3.742 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.0003179/0.3689, allocations: 164.8 kB / 468.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.371, allocations: 0.8795 MB / 469 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.371, allocations: 0 / 469 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3721, allocations: 0.5185 MB / 469.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3726, allocations: 50.55 kB / 469.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3756, allocations: 1.243 MB / 470.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.3761, allocations: 0.8848 MB / 471.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.3764, allocations: 64.09 kB / 471.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3764, allocations: 0 / 471.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of Templates: time 0.02008/0.3965, allocations: 13.63 MB / 485.3 MB, free: 5.992 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/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_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: 8.115369440987706]