Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009609/0.0009609, allocations: 98 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009102/0.0009103, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1953, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004628/0.2, allocations: 5.033 MB / 412.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.2023, allocations: 2.149 MB / 414.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.2026, allocations: 16 kB / 414.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.2048, allocations: 1.313 MB / 415.6 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.2056, allocations: 374.1 kB / 415.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.2072, allocations: 1.186 MB / 417.1 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.2077, allocations: 0.7083 MB / 417.8 MB, free: 17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.2085, allocations: 0.5986 MB / 418.4 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.2088, allocations: 314.8 kB / 418.7 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.2091, allocations: 426.3 kB / 419.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.2092, allocations: 52 kB / 419.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005858/0.2098, allocations: 391.6 kB / 419.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.2099, allocations: 151.3 kB / 419.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.2101, allocations: 366.2 kB / 420.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.2109, allocations: 1.176 MB / 421.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2109, allocations: 0 / 421.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2109, allocations: 0 / 421.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.2109, allocations: 0 / 421.3 MB, free: 13.55 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.003684/0.2146, allocations: 1.463 MB / 422.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2146, allocations: 8.031 kB / 422.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.2169, allocations: 383.6 kB / 423.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2171, allocations: 264 kB / 423.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.2172, allocations: 62.38 kB / 423.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2173, allocations: 84.38 kB / 423.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2186, allocations: 0.8799 MB / 424.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2187, allocations: 3.906 kB / 424.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.2187, allocations: 36 kB / 424.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.2188, allocations: 20 kB / 424.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.2203, allocations: 0.8042 MB / 425.3 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.2236, allocations: 3.029 MB / 428.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/0.2246, allocations: 1.017 MB / 429.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.2251, allocations: 234.4 kB / 429.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.2252, allocations: 182.8 kB / 429.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.2252, allocations: 39.12 kB / 429.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.164e-06/0.2252, allocations: 0 / 429.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.007012/0.2322, allocations: 2.423 MB / 432.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.2323, allocations: 81.67 kB / 432.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2325, allocations: 307.1 kB / 432.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2325, allocations: 33.7 kB / 432.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2327, allocations: 362.6 kB / 432.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2328, allocations: 205 kB / 433.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.233, allocations: 150.5 kB / 433.3 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.233, allocations: 354.7 kB / 433.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.2338, allocations: 277.8 kB / 433.9 MB, free: 284 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.2346, allocations: 0.5048 MB / 434.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.2364, allocations: 0.8192 MB / 435.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2364, allocations: 0 / 435.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002095/0.2385, allocations: 0.9021 MB / 436.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2385, allocations: 8 kB / 436.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2385, allocations: 8.469 kB / 436.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.2388, allocations: 73.61 kB / 436.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.2396, allocations: 199.7 kB / 436.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.2414, allocations: 2.659 MB / 439.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.2421, allocations: 67.86 kB / 439.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.2421, allocations: 39.92 kB / 439.2 MB, free: 10.51 MB / 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.0002527/0.2424, allocations: 235 kB / 439.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.2425, allocations: 39.53 kB / 439.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.2445, allocations: 0.743 MB / 440.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2445, allocations: 8 kB / 440.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2445, allocations: 0 / 440.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2445, allocations: 3.984 kB / 440.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.2472, allocations: 1.422 MB / 441.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2472, allocations: 4 kB / 441.6 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.2478, allocations: 143.8 kB / 441.8 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.248, allocations: 65.59 kB / 441.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.2481, allocations: 15.98 kB / 441.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.2497, allocations: 2.643 MB / 444.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2497, allocations: 3.984 kB / 444.5 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/0.2538, allocations: 2.363 MB / 446.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.254, allocations: 156.6 kB / 447 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.254, allocations: 16 kB / 447 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.2545, allocations: 52.02 kB / 447.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2547, allocations: 44.48 kB / 447.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.2547, allocations: 23.98 kB / 447.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2549, allocations: 203.1 kB / 447.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2549, allocations: 7.875 kB / 447.3 MB, free: 1.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006956/0.2556, allocations: 196 kB / 447.5 MB, free: 1.633 MB / 314.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.0002431/0.2559, allocations: 155.2 kB / 447.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.2579, allocations: 0.9163 MB / 448.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2579, allocations: 0 / 448.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009955/0.2589, allocations: 0.5629 MB / 449.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2593, allocations: 44.53 kB / 449.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.2621, allocations: 1.877 MB / 451.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.2625, allocations: 0.8966 MB / 452 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004846/0.263, allocations: 96.5 kB / 452.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.2632, allocations: 47.41 kB / 452.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2632, allocations: 0 / 452.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of Templates: time 0.01073/0.2739, allocations: 6.284 MB / 458.4 MB, free: 6.672 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches