Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008379/0.0008379, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003143/0.003143, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8868/0.8868, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.405e-05, allocations: 6.219 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003896/0.00392, allocations: 4.598 MB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.006234, allocations: 2.02 MB / 332.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.006437, allocations: 19.94 kB / 332.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.007904, allocations: 1.375 MB / 333.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006595/0.008564, allocations: 429.1 kB / 334.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.009717, allocations: 1.143 MB / 335.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.01032, allocations: 0.7776 MB / 336.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.01097, allocations: 0.5709 MB / 336.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.01134, allocations: 486.9 kB / 337.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.01159, allocations: 331.1 kB / 337.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.01165, allocations: 68 kB / 337.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.0121, allocations: 403.2 kB / 338 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.01218, allocations: 171.3 kB / 338.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.01233, allocations: 259.3 kB / 338.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.01333, allocations: 1.258 MB / 339.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01333, allocations: 0 / 339.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01334, allocations: 0 / 339.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.01334, allocations: 0 / 339.7 MB, free: 1.32 MB / 298.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.002244/0.01559, allocations: 1.406 MB / 341.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01562, allocations: 15.98 kB / 341.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.01681, allocations: 364.1 kB / 341.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.01697, allocations: 200.8 kB / 341.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.01701, allocations: 62.38 kB / 341.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.0171, allocations: 84.38 kB / 341.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.01831, allocations: 0.8975 MB / 342.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.01833, allocations: 4.141 kB / 342.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.01839, allocations: 39.94 kB / 342.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.0184, allocations: 20 kB / 342.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.01942, allocations: 0.7925 MB / 343.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.02188, allocations: 2.308 MB / 345.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.02251, allocations: 0.5177 MB / 346.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.02279, allocations: 214.2 kB / 346.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.02285, allocations: 24.48 kB / 346.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.02287, allocations: 39.06 kB / 346.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.653e-06/0.02287, allocations: 0 / 346.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003633/0.02651, allocations: 2.171 MB / 348.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.02655, allocations: 85.61 kB / 348.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.02702, allocations: 323.9 kB / 349.2 MB, free: 7.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.02705, allocations: 33.7 kB / 349.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.02719, allocations: 375.9 kB / 349.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.02729, allocations: 218.1 kB / 349.8 MB, free: 6.871 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.02743, allocations: 150.5 kB / 349.9 MB, free: 6.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.02752, allocations: 346.8 kB / 350.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.0279, allocations: 269.8 kB / 350.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.0284, allocations: 0.5294 MB / 351.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.02928, allocations: 0.8049 MB / 351.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02929, allocations: 4 kB / 351.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001103/0.03039, allocations: 0.905 MB / 352.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.03041, allocations: 11.94 kB / 352.8 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.03042, allocations: 8 kB / 352.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.03059, allocations: 73.7 kB / 352.9 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.03099, allocations: 199.7 kB / 353.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.03254, allocations: 2.608 MB / 355.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.03285, allocations: 59.91 kB / 355.7 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.03289, allocations: 39.92 kB / 355.8 MB, free: 444 kB / 314.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.0002521/0.03314, allocations: 213.6 kB / 356 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.0332, allocations: 39.83 kB / 356 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.03457, allocations: 0.7336 MB / 356.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.03457, allocations: 11.94 kB / 356.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.03458, allocations: 0 / 356.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.03458, allocations: 3.984 kB / 356.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.03605, allocations: 1.205 MB / 358 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.03605, allocations: 0 / 358 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.03637, allocations: 131.8 kB / 358.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.0365, allocations: 61.61 kB / 358.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.03653, allocations: 19.98 kB / 358.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.03788, allocations: 2.585 MB / 360.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.03788, allocations: 0 / 360.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.03931, allocations: 1.078 MB / 361.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.03945, allocations: 91.67 kB / 361.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.03948, allocations: 12 kB / 362 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.0397, allocations: 48.02 kB / 362 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.03978, allocations: 52.39 kB / 362.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.0398, allocations: 16 kB / 362.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.03995, allocations: 215.1 kB / 362.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03995, allocations: 0 / 362.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000486/0.04043, allocations: 175.9 kB / 362.5 MB, free: 9.461 MB / 330.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.0002269/0.04066, allocations: 155.2 kB / 362.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.04202, allocations: 0.8807 MB / 363.5 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04203, allocations: 3.938 kB / 363.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.04253, allocations: 0.5195 MB / 364 MB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.04286, allocations: 53.41 kB / 364.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.04437, allocations: 1.179 MB / 365.2 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.04453, allocations: 282.8 kB / 365.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.04468, allocations: 60.47 kB / 365.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04468, allocations: 0 / 365.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of Templates: time 0.0102/0.05489, allocations: 13.88 MB / 379.5 MB, free: 8.352 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.683853165246546]