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.001293/0.001293, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 50.53 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006387/0.2528, allocations: 5.051 MB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.2568, allocations: 2.152 MB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.2573, allocations: 16 kB / 417.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.2605, allocations: 1.4 MB / 418.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.2618, allocations: 413.4 kB / 419 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.2641, allocations: 1.217 MB / 420.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009677/0.2651, allocations: 0.7278 MB / 420.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009591/0.266, allocations: 0.6454 MB / 421.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.2665, allocations: 342.8 kB / 421.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.267, allocations: 430.3 kB / 422.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.361e-05/0.2671, allocations: 68 kB / 422.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/0.268, allocations: 415.6 kB / 422.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2682, allocations: 167.4 kB / 422.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.2685, allocations: 370.2 kB / 423.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.27, allocations: 1.197 MB / 424.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.27, allocations: 7.875 kB / 424.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.27, allocations: 4 kB / 424.5 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.27, 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.004422/0.2745, allocations: 1.451 MB / 426 MB, free: 1.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2745, allocations: 8.031 kB / 426 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.2772, allocations: 387.7 kB / 426.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.2774, allocations: 263.9 kB / 426.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.2775, allocations: 62.38 kB / 426.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.2777, allocations: 84.38 kB / 426.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.2794, allocations: 0.8761 MB / 427.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.2794, allocations: 8 kB / 427.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.2795, allocations: 32 kB / 427.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2795, allocations: 23.94 kB / 427.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.2813, allocations: 0.7964 MB / 428.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/0.2857, allocations: 3.009 MB / 431.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2869, allocations: 0.9962 MB / 432.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.2875, allocations: 246.4 kB / 432.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.2876, allocations: 170.8 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.2877, allocations: 43.11 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.775e-06/0.2877, allocations: 3.938 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007382/0.2951, allocations: 2.396 MB / 435.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.2952, allocations: 85.67 kB / 435.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.2956, allocations: 299.1 kB / 435.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.2956, allocations: 33.7 kB / 435.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.2959, allocations: 362.6 kB / 436.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.296, allocations: 216.9 kB / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.2963, allocations: 142.6 kB / 436.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2964, allocations: 346.8 kB / 436.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/0.2971, allocations: 269.8 kB / 437.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.298, allocations: 0.5081 MB / 437.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.2997, allocations: 0.8075 MB / 438.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2997, allocations: 4 kB / 438.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002036/0.3017, allocations: 0.8947 MB / 439.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3018, allocations: 8 kB / 439.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3018, allocations: 8 kB / 439.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.302, allocations: 69.61 kB / 439.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.3029, allocations: 203.7 kB / 439.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.3051, allocations: 2.864 MB / 442.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.3058, allocations: 63.86 kB / 442.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.3058, allocations: 39.98 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.0003456/0.3062, allocations: 217.6 kB / 442.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.3063, allocations: 39.53 kB / 442.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.3082, allocations: 0.739 MB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3082, allocations: 4 kB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3082, allocations: 7.984 kB / 443.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3082, allocations: 0 / 443.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.3108, allocations: 1.405 MB / 444.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3109, allocations: 0 / 444.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.3115, allocations: 135.8 kB / 445.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.3117, allocations: 53.67 kB / 445.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.3117, allocations: 15.98 kB / 445.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.3137, allocations: 2.857 MB / 448 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3137, allocations: 7.922 kB / 448 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.3161, allocations: 1.079 MB / 449.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.3164, allocations: 172.3 kB / 449.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.3164, allocations: 12 kB / 449.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.317, allocations: 47.94 kB / 449.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3171, allocations: 44.5 kB / 449.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.3171, allocations: 16 kB / 449.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3174, allocations: 211.1 kB / 449.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3174, allocations: 0 / 449.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007117/0.3181, allocations: 180 kB / 449.7 MB, free: 8.219 MB / 366.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.0002689/0.3184, allocations: 151.2 kB / 449.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.3203, allocations: 0.9202 MB / 450.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3203, allocations: 0 / 450.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.3213, allocations: 0.5472 MB / 451.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3218, allocations: 52.59 kB / 451.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.3246, allocations: 1.256 MB / 452.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.3251, allocations: 0.8771 MB / 453.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.3253, allocations: 59.41 kB / 453.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3253, allocations: 0 / 453.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of Templates: time 0.01703/0.3424, allocations: 13.1 MB / 466.7 MB, free: 7.148 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