Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002548/0.002548, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 47.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 53.38 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006751/0.2466, allocations: 4.58 MB / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.2502, allocations: 2.028 MB / 438.2 MB, free: 92 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.2504, allocations: 16 kB / 438.2 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.2535, allocations: 1.294 MB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.2546, allocations: 421.3 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.2571, allocations: 1.128 MB / 441.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2582, allocations: 0.7511 MB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009245/0.2591, allocations: 0.5622 MB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.2596, allocations: 346.8 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.26, allocations: 378.3 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.2601, allocations: 68 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.261, allocations: 391.6 kB / 443.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2611, allocations: 167.4 kB / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.2615, allocations: 306.6 kB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.2631, allocations: 1.222 MB / 445.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2632, allocations: 4 kB / 445.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2632, allocations: 3.938 kB / 445.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2632, allocations: 4 kB / 445.2 MB, free: 9.055 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.004361/0.2675, allocations: 1.413 MB / 446.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2676, allocations: 11.97 kB / 446.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.2701, allocations: 364.1 kB / 447 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.2704, allocations: 197.6 kB / 447.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/0.2704, allocations: 66.38 kB / 447.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.2706, allocations: 88.36 kB / 447.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.2723, allocations: 0.893 MB / 448.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.2724, allocations: 7.938 kB / 448.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.2724, allocations: 40 kB / 448.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.2725, allocations: 20 kB / 448.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.2743, allocations: 0.7886 MB / 449.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.2786, allocations: 2.293 MB / 451.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.2797, allocations: 0.5064 MB / 451.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.2803, allocations: 214.2 kB / 452.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.2804, allocations: 28.41 kB / 452.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2804, allocations: 39.06 kB / 452.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.514e-06/0.2804, allocations: 7.938 kB / 452.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007374/0.2878, allocations: 2.167 MB / 454.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.2878, allocations: 89.53 kB / 454.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.2882, allocations: 319.9 kB / 454.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.2883, allocations: 37.7 kB / 454.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.2885, allocations: 379.9 kB / 455.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2887, allocations: 222.1 kB / 455.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.289, allocations: 146.6 kB / 455.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2891, allocations: 346.8 kB / 455.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.2899, allocations: 269.8 kB / 456.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2909, allocations: 0.5294 MB / 456.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.2928, allocations: 0.8126 MB / 457.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2928, allocations: 4 kB / 457.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002195/0.295, allocations: 0.8927 MB / 458.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.295, allocations: 8 kB / 458.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.295, allocations: 8.625 kB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.2953, allocations: 73.61 kB / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.2962, allocations: 199.7 kB / 458.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.2984, allocations: 2.623 MB / 461.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.2991, allocations: 64.03 kB / 461.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.2992, allocations: 35.98 kB / 461.4 MB, free: 8.16 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.0003223/0.2995, allocations: 213.6 kB / 461.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/0.2996, allocations: 43.72 kB / 461.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.3016, allocations: 0.7297 MB / 462.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3016, allocations: 4 kB / 462.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3016, allocations: 4 kB / 462.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3016, allocations: 7.984 kB / 462.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.3042, allocations: 1.205 MB / 463.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3042, allocations: 0 / 463.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.3049, allocations: 131.8 kB / 463.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.3051, allocations: 61.67 kB / 463.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.3051, allocations: 15.98 kB / 463.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.3073, allocations: 2.596 MB / 466.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3073, allocations: 7.875 kB / 466.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.3099, allocations: 1.07 MB / 467.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.3101, allocations: 95.7 kB / 467.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.3102, allocations: 12 kB / 467.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.3107, allocations: 43.95 kB / 467.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3108, allocations: 52.34 kB / 467.6 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.3108, allocations: 19.98 kB / 467.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.3111, allocations: 207.1 kB / 467.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3111, allocations: 0 / 467.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000685/0.3118, allocations: 187.9 kB / 468 MB, free: 1.18 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.0002699/0.312, allocations: 159.2 kB / 468.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.314, allocations: 0.8798 MB / 469.1 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.314, allocations: 0 / 469.1 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.3151, allocations: 0.5244 MB / 469.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3155, allocations: 48.62 kB / 469.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.3181, allocations: 1.196 MB / 470.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3184, allocations: 286.7 kB / 471.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003668/0.3187, allocations: 84.42 kB / 471.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3189, allocations: 55.41 kB / 471.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3189, allocations: 0 / 471.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.0142/0.3331, allocations: 7.191 MB / 478.5 MB, free: 6.766 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.818248447030783]