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.001225/0.001225, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2116, allocations: 50.54 MB / 410 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005857/0.2175, allocations: 5.04 MB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.2212, allocations: 2.144 MB / 417.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.2216, allocations: 16 kB / 417.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.2246, allocations: 1.408 MB / 418.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2256, allocations: 417.4 kB / 419 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.2277, allocations: 1.206 MB / 420.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.2286, allocations: 0.7278 MB / 420.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000894/0.2295, allocations: 0.6648 MB / 421.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.2299, allocations: 330.8 kB / 421.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.2304, allocations: 430.3 kB / 422.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2305, allocations: 68 kB / 422.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.2312, allocations: 411.6 kB / 422.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.2314, allocations: 167.4 kB / 422.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.2317, allocations: 378.1 kB / 423.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.233, allocations: 1.201 MB / 424.5 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.233, allocations: 0 / 424.5 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.233, allocations: 0 / 424.5 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.233, allocations: 0 / 424.5 MB, free: 3 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004473/0.2375, allocations: 1.467 MB / 426 MB, free: 1.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2375, allocations: 8.031 kB / 426 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.2403, allocations: 375.7 kB / 426.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2405, allocations: 259.9 kB / 426.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.2406, allocations: 66.38 kB / 426.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.2407, allocations: 80.38 kB / 426.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2424, allocations: 0.8723 MB / 427.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.2425, allocations: 8 kB / 427.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.2425, allocations: 32 kB / 427.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.2426, allocations: 20 kB / 427.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.2444, allocations: 0.8041 MB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.2487, allocations: 3.005 MB / 431.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.2499, allocations: 1.004 MB / 432.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.2504, allocations: 246.4 kB / 432.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.2506, allocations: 178.7 kB / 432.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2506, allocations: 43.12 kB / 433 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.215e-06/0.2506, allocations: 0 / 433 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007298/0.2579, allocations: 2.392 MB / 435.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.258, allocations: 81.67 kB / 435.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.2583, allocations: 307.1 kB / 435.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.2583, allocations: 37.7 kB / 435.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2585, allocations: 362.6 kB / 436.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2587, allocations: 209 kB / 436.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.2589, allocations: 142.6 kB / 436.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.259, allocations: 350.8 kB / 436.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.2598, allocations: 269.8 kB / 437.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/0.2607, allocations: 0.5042 MB / 437.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.2624, allocations: 0.8037 MB / 438.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.2624, allocations: 3.938 kB / 438.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002037/0.2644, allocations: 0.8986 MB / 439.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2645, allocations: 10.81 kB / 439.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2645, allocations: 8 kB / 439.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.2647, allocations: 77.64 kB / 439.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008625/0.2656, allocations: 199.7 kB / 439.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.2675, allocations: 2.86 MB / 442.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/0.2682, allocations: 63.84 kB / 442.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.2682, allocations: 36 kB / 442.5 MB, free: 15.85 MB / 366.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.000272/0.2685, allocations: 224.6 kB / 442.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.2686, allocations: 39.53 kB / 442.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.2705, allocations: 0.735 MB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2706, allocations: 7.922 kB / 443.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2706, allocations: 4 kB / 443.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.2708, allocations: 156.6 kB / 443.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.2708, allocations: 23.88 kB / 443.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.2714, allocations: 51.89 kB / 443.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2715, allocations: 48.48 kB / 443.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002153/0.2736, allocations: 0.7775 MB / 444.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002364/0.276, allocations: 1.091 MB / 445.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007041/0.2767, allocations: 276.3 kB / 445.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.277, allocations: 211 kB / 446.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Backend: time 2.9e-07/0.277, allocations: 0 / 446.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.2789, allocations: 0.9337 MB / 447.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 0.001733/0.2807, allocations: 1.462 MB / 448.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01713/0.2978, allocations: 10.77 MB / 459.3 MB, free: 14.94 MB / 382.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