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.001519/0.001519, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001637/0.001637, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.628/1.628, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001611/0.001611, allocations: 51.86 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3734, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005282/0.3787, allocations: 2.676 MB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3804, allocations: 0.7555 MB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.3806, allocations: 4 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.3809, allocations: 71.36 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.3812, allocations: 106.1 kB / 435.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3815, allocations: 103.8 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.3821, allocations: 402.5 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.3823, allocations: 95.34 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/0.3827, allocations: 175.3 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.3829, allocations: 175.2 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.383, allocations: 32 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.3831, allocations: 35.94 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.3832, allocations: 75.77 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3833, allocations: 147.3 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.3838, allocations: 406 kB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3839, allocations: 4 kB / 437.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3839, allocations: 0 / 437.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.3839, allocations: 3.938 kB / 437.6 MB, free: 1.48 MB / 334.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.00145/0.3853, allocations: 0.5869 MB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3854, allocations: 8.031 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/0.3855, allocations: 44.7 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.386, allocations: 225.6 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.386, allocations: 25.03 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.3861, allocations: 36.38 kB / 438.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.3867, allocations: 286.4 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3868, allocations: 0 / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.3868, allocations: 16 kB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.3868, allocations: 11.98 kB / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.3875, allocations: 246.5 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.3893, allocations: 0.8742 MB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.3897, allocations: 146.5 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3899, allocations: 72.72 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.39, allocations: 3.938 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.39, allocations: 34.56 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.39, allocations: 0 / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002241/0.3923, allocations: 0.5969 MB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3923, allocations: 51.41 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3927, allocations: 281.8 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.3927, allocations: 33.7 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3929, allocations: 240 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.393, allocations: 79.36 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3931, allocations: 61.66 kB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.3933, allocations: 342.8 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3936, allocations: 95.94 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.394, allocations: 199.9 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.3948, allocations: 305.1 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3948, allocations: 3.938 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009455/0.3957, allocations: 401.4 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3957, allocations: 8 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3957, allocations: 4 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.3961, allocations: 57.67 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.3964, allocations: 79.83 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.399, allocations: 2.584 MB / 445.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.3993, allocations: 19.98 kB / 445.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3993, allocations: 15.98 kB / 445.6 MB, free: 8.965 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.0002241/0.3995, allocations: 158 kB / 445.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.3996, allocations: 27.8 kB / 445.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-05/0.3997, allocations: 38.25 kB / 445.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3997, allocations: 4 kB / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3997, allocations: 0 / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3997, allocations: 0 / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.4001, allocations: 225.2 kB / 446 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4001, allocations: 3.938 kB / 446 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.4003, allocations: 39.97 kB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.4005, allocations: 61.61 kB / 446.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.4005, allocations: 4 kB / 446.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.4028, allocations: 2.576 MB / 448.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4028, allocations: 4.031 kB / 448.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.4036, allocations: 371.6 kB / 449.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.4037, allocations: 31.92 kB / 449.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.4037, allocations: 4 kB / 449.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.4039, allocations: 19.92 kB / 449.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.404, allocations: 23.95 kB / 449.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.404, allocations: 7.938 kB / 449.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.4043, allocations: 197.2 kB / 449.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4043, allocations: 0 / 449.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.4047, allocations: 72 kB / 449.4 MB, free: 4.848 MB / 350.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.000174/0.4049, allocations: 103.2 kB / 449.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.406, allocations: 473.9 kB / 450 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.406, allocations: 0 / 450 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.4066, allocations: 337.2 kB / 450.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.407, allocations: 36.36 kB / 450.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.4083, allocations: 0.5539 MB / 450.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4085, allocations: 172.8 kB / 451.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.4086, allocations: 30.36 kB / 451.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.4087, allocations: 19.44 kB / 451.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4087, allocations: 0 / 451.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of Templates: time 0.008614/0.4173, allocations: 3.282 MB / 454.4 MB, free: 15.82 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 -s cvode -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: 9.221039189011208]