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.00104/0.00104, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.00106/0.00106, allocations: 163.2 kB / 25.6 MB, free: 8.543 MB / 18.57 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 0.9086/0.9086, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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 2.244e-06/2.244e-06, allocations: 3.938 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.181e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007587/0.007608, allocations: 4.888 MB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.01168, allocations: 2.08 MB / 281.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.01195, allocations: 16 kB / 281.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.01378, allocations: 1.442 MB / 282.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.01455, allocations: 421.1 kB / 283 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.01568, allocations: 1.148 MB / 284.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.01627, allocations: 0.7741 MB / 285 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.01687, allocations: 0.5714 MB / 285.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.01727, allocations: 486.9 kB / 286 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.01757, allocations: 339.1 kB / 286.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.01764, allocations: 68 kB / 286.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.01813, allocations: 403.3 kB / 286.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.01821, allocations: 171.3 kB / 287 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.01837, allocations: 259.3 kB / 287.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.01912, allocations: 0.8993 MB / 288.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01912, allocations: 0 / 288.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01912, allocations: 0 / 288.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.01913, allocations: 7.938 kB / 288.1 MB, free: 6.434 MB / 266.7 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.002279/0.0214, allocations: 1.521 MB / 289.7 MB, free: 4.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.02143, allocations: 12.03 kB / 289.7 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.0228, allocations: 0.4959 MB / 290.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.02293, allocations: 195.6 kB / 290.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.02297, allocations: 66.38 kB / 290.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.02306, allocations: 88.31 kB / 290.5 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.02374, allocations: 0.6497 MB / 291.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.02376, allocations: 4.188 kB / 291.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.02381, allocations: 39.94 kB / 291.2 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.02383, allocations: 20 kB / 291.2 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.02424, allocations: 349.6 kB / 291.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.02655, allocations: 2.319 MB / 293.9 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.02699, allocations: 395.2 kB / 294.3 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.02712, allocations: 105.2 kB / 294.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.997e-05/0.02718, allocations: 32.47 kB / 294.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.0272, allocations: 41.89 kB / 294.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.713e-06/0.0272, allocations: 0 / 294.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.00192/0.02912, allocations: 1.167 MB / 295.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.02916, allocations: 85.61 kB / 295.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.02936, allocations: 365.8 kB / 296 MB, free: 14.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.47e-05/0.0294, allocations: 37.7 kB / 296.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.02956, allocations: 426.6 kB / 296.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.02968, allocations: 226.1 kB / 296.7 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.02983, allocations: 160.2 kB / 296.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.02996, allocations: 0.5273 MB / 297.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.03009, allocations: 93.91 kB / 297.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.03037, allocations: 466.3 kB / 297.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.03082, allocations: 0.5914 MB / 298.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.03083, allocations: 0 / 298.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006366/0.03146, allocations: 0.5897 MB / 299.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.03148, allocations: 8 kB / 299.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.03149, allocations: 11.98 kB / 299.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.03181, allocations: 103.9 kB / 299.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.0322, allocations: 179.7 kB / 299.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.0335, allocations: 3.501 MB / 302.9 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.03376, allocations: 47.92 kB / 303 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.03379, allocations: 32.06 kB / 303 MB, free: 6.664 MB / 282.7 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.0001503/0.03394, allocations: 208.2 kB / 303.2 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.03402, allocations: 59.77 kB / 303.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.03455, allocations: 449 kB / 303.7 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.03455, allocations: 11.98 kB / 303.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.03456, allocations: 0 / 303.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.03456, allocations: 0 / 303.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.03544, allocations: 0.9014 MB / 304.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.03545, allocations: 0 / 304.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.03574, allocations: 115.9 kB / 304.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.03601, allocations: 83.28 kB / 304.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.03603, allocations: 15.98 kB / 304.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.03726, allocations: 3.498 MB / 308.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03726, allocations: 0 / 308.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.03791, allocations: 0.6306 MB / 309 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.03803, allocations: 87.69 kB / 309 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.03807, allocations: 15.94 kB / 309.1 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.03825, allocations: 28.08 kB / 309.1 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.03832, allocations: 48.41 kB / 309.1 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.03834, allocations: 15.98 kB / 309.1 MB, free: 192 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.03846, allocations: 222.9 kB / 309.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03846, allocations: 0 / 309.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004496/0.03891, allocations: 180 kB / 309.5 MB, free: 15.79 MB / 298.7 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.0001824/0.03909, allocations: 171 kB / 309.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.0397, allocations: 0.7109 MB / 310.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.0397, allocations: 0 / 310.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.04002, allocations: 0.5197 MB / 310.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.04027, allocations: 54.69 kB / 311 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.0417, allocations: 1.088 MB / 312.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.123e-05/0.04178, allocations: 140.6 kB / 312.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.042, allocations: 84.41 kB / 312.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.0422, allocations: 154.2 kB / 312.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0422, allocations: 0 / 312.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of Templates: time 0.009129/0.05133, allocations: 7.304 MB / 319.8 MB, free: 5.57 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.902104631997645]