Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.002028/0.002028, allocations: 116 kB / 18.45 MB, free: 4.605 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.003297/0.003297, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 51.92 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09525, allocations: 53.32 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004178/0.09943, allocations: 2.875 MB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1007, allocations: 0.7944 MB / 431.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1008, allocations: 4 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.101, allocations: 63.44 kB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1013, allocations: 103.2 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1016, allocations: 115.8 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1933/0.2948, allocations: 399.3 kB / 431.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.2951, allocations: 95.05 kB / 431.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.2956, allocations: 165.7 kB / 432.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.2959, allocations: 176.2 kB / 432.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.646e-05/0.296, allocations: 33 kB / 432.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.296, allocations: 35.38 kB / 432.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.2961, allocations: 79.67 kB / 432.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.2963, allocations: 178.2 kB / 432.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.2967, allocations: 412 kB / 433 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2967, allocations: 1.219 kB / 433 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2967, allocations: 0.7188 kB / 433 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2967, allocations: 3.844 kB / 433 MB, free: 7.969 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001174/0.2979, allocations: 0.6562 MB / 433.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2979, allocations: 11.16 kB / 433.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.298, allocations: 42.16 kB / 433.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2984, allocations: 275 kB / 433.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2984, allocations: 25.97 kB / 434 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.2985, allocations: 36.31 kB / 434 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.299, allocations: 288.5 kB / 434.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.299, allocations: 3.938 kB / 434.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.299, allocations: 15.16 kB / 434.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.299, allocations: 8.188 kB / 434.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.2996, allocations: 253.9 kB / 434.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3011, allocations: 1.118 MB / 435.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.3015, allocations: 139 kB / 435.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3017, allocations: 69.78 kB / 435.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3017, allocations: 2.922 kB / 435.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.3017, allocations: 40.77 kB / 435.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.3017, allocations: 1.312 kB / 435.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002114/0.3038, allocations: 0.5975 MB / 436.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.3039, allocations: 57.39 kB / 436.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3041, allocations: 285.2 kB / 436.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3042, allocations: 34.83 kB / 436.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3043, allocations: 228.3 kB / 437.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3043, allocations: 76.7 kB / 437.2 MB, free: 6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.3044, allocations: 62.38 kB / 437.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.3045, allocations: 342.7 kB / 437.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3048, allocations: 96 kB / 437.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.3051, allocations: 195 kB / 437.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.3057, allocations: 306.5 kB / 438.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3057, allocations: 5.188 kB / 438.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008498/0.3066, allocations: 397 kB / 438.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3066, allocations: 7.359 kB / 438.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3066, allocations: 3 kB / 438.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.3068, allocations: 65.11 kB / 438.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.3072, allocations: 76.91 kB / 438.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.3087, allocations: 2.835 MB / 441.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.309, allocations: 26.98 kB / 441.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.309, allocations: 17.97 kB / 441.6 MB, free: 2.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001481/0.3091, allocations: 146.4 kB / 441.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.3092, allocations: 28.66 kB / 441.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.3093, allocations: 37.38 kB / 441.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3093, allocations: 2.094 kB / 441.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3093, allocations: 1.484 kB / 441.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3093, allocations: 2.484 kB / 441.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.3097, allocations: 336.9 kB / 442.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3097, allocations: 0 / 442.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3099, allocations: 44.73 kB / 442.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.31, allocations: 57 kB / 442.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3101, allocations: 2.031 kB / 442.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.3117, allocations: 2.831 MB / 445.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3117, allocations: 1.453 kB / 445.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.3125, allocations: 379.5 kB / 445.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.996e-05/0.3126, allocations: 102.6 kB / 445.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3127, allocations: 6 kB / 445.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3129, allocations: 17.03 kB / 445.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.313, allocations: 19.27 kB / 445.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.313, allocations: 8.953 kB / 445.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.3132, allocations: 198.8 kB / 445.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3132, allocations: 0 / 445.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.3137, allocations: 72.84 kB / 445.9 MB, free: 14.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.000146/0.3138, allocations: 110.9 kB / 446 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3149, allocations: 480.8 kB / 446.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3149, allocations: 0 / 446.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.3155, allocations: 345.5 kB / 446.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3158, allocations: 26.88 kB / 446.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3171, allocations: 0.5872 MB / 447.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.3176, allocations: 0.7739 MB / 448.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3177, allocations: 23.42 kB / 448.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3177, allocations: 0 / 448.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01338/0.3311, allocations: 6.134 MB / 454.3 MB, free: 12.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 7.655479962006211]