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/ModelicaServices trunk/package.mo", uses=false) 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) 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.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/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 111.7 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 205.8 kB / 18.92 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 54.31 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1323, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007239/0.1396, allocations: 5.033 MB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.1443, allocations: 2.114 MB / 364.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009179/0.1453, allocations: 16 kB / 364.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.1488, allocations: 1.323 MB / 366.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1506, allocations: 374.1 kB / 366.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.1532, allocations: 1.128 MB / 367.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1548, allocations: 0.7239 MB / 368.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.1563, allocations: 0.743 MB / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.157, allocations: 338.8 kB / 369.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.1578, allocations: 426.3 kB / 369.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.158, allocations: 68 kB / 369.9 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1594, allocations: 411.7 kB / 370.3 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1597, allocations: 163.4 kB / 370.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.1602, allocations: 378.2 kB / 370.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1615, allocations: 0.9234 MB / 371.8 MB, free: 220 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1616, allocations: 0 / 371.8 MB, free: 220 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1616, allocations: 3.938 kB / 371.8 MB, free: 216 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1616, allocations: 0 / 371.8 MB, free: 216 kB / 302.1 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.2464/0.408, allocations: 1.454 MB / 373.2 MB, free: 20.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4081, allocations: 9.125 kB / 373.2 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.4107, allocations: 377 kB / 373.6 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.411, allocations: 260.7 kB / 373.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.993e-05/0.4111, allocations: 62.5 kB / 373.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.4113, allocations: 85.78 kB / 374 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4131, allocations: 0.8715 MB / 374.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.4132, allocations: 2.953 kB / 374.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.4132, allocations: 37.97 kB / 374.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.4133, allocations: 20.03 kB / 374.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.4152, allocations: 0.7976 MB / 375.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.4196, allocations: 3.051 MB / 378.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.4207, allocations: 1.006 MB / 379.8 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.4212, allocations: 246.2 kB / 380 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.4213, allocations: 172.6 kB / 380.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4214, allocations: 38.23 kB / 380.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.134e-06/0.4214, allocations: 1.094 kB / 380.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006983/0.4284, allocations: 2.401 MB / 382.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4284, allocations: 83.05 kB / 382.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4287, allocations: 305.4 kB / 383 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.4288, allocations: 36.23 kB / 383.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.4289, allocations: 362.8 kB / 383.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4291, allocations: 208.9 kB / 383.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.4293, allocations: 143.6 kB / 383.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.4294, allocations: 348 kB / 384.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.4301, allocations: 274.5 kB / 384.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/0.4309, allocations: 0.5016 MB / 384.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4325, allocations: 0.8071 MB / 385.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4325, allocations: 2.75 kB / 385.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00193/0.4344, allocations: 0.902 MB / 386.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4345, allocations: 8.672 kB / 386.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4345, allocations: 7.859 kB / 386.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.4348, allocations: 72.38 kB / 386.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/0.4356, allocations: 203.1 kB / 386.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.4371, allocations: 2.865 MB / 389.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.4377, allocations: 68.3 kB / 389.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.4378, allocations: 33.19 kB / 389.8 MB, free: 9.586 MB / 302.1 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.0002803/0.4381, allocations: 218.5 kB / 390 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.4382, allocations: 39.11 kB / 390.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.44, allocations: 0.7462 MB / 390.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.44, allocations: 8.875 kB / 390.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.44, allocations: 0.875 kB / 390.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.4401, allocations: 4.656 kB / 390.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.4426, allocations: 1.41 MB / 392.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4426, allocations: 4 kB / 392.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.4433, allocations: 130.1 kB / 392.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.4434, allocations: 57.95 kB / 392.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.4435, allocations: 16.95 kB / 392.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.4448, allocations: 2.847 MB / 395.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4448, allocations: 1 kB / 395.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.4471, allocations: 1.073 MB / 396.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.4473, allocations: 169.7 kB / 396.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.4473, allocations: 11.34 kB / 396.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.4478, allocations: 48.89 kB / 396.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4479, allocations: 50.05 kB / 396.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.448, allocations: 18.91 kB / 396.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.4482, allocations: 211.7 kB / 396.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4482, allocations: 0 / 396.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.4489, allocations: 175 kB / 397 MB, free: 4.344 MB / 302.1 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.0002625/0.4492, allocations: 159.8 kB / 397.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.4517, allocations: 0.9341 MB / 398.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4517, allocations: 0 / 398.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4529, allocations: 0.5461 MB / 398.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.4535, allocations: 45.83 kB / 398.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.4561, allocations: 1.593 MB / 400.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4564, allocations: 0.8811 MB / 401.2 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.4566, allocations: 52.2 kB / 401.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4567, allocations: 0 / 401.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of Templates: time 0.01472/0.4714, allocations: 13.04 MB / 414.3 MB, free: 5.73 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches