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) 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2104, allocations: 50.55 MB / 410 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005982/0.2164, allocations: 5.075 MB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.2198, allocations: 2.152 MB / 417.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.2202, allocations: 16 kB / 417.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.2231, allocations: 1.404 MB / 418.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008981/0.224, allocations: 425.4 kB / 419 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2261, allocations: 1.203 MB / 420.2 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.2268, allocations: 0.7433 MB / 421 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.2277, allocations: 0.657 MB / 421.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.228, allocations: 330.8 kB / 421.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.2285, allocations: 438.3 kB / 422.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.2286, allocations: 71.98 kB / 422.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.2292, allocations: 411.7 kB / 422.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2294, allocations: 163.4 kB / 423 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.2297, allocations: 386 kB / 423.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2308, allocations: 1.216 MB / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2308, allocations: 0 / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2308, allocations: 0 / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2309, allocations: 0 / 424.6 MB, free: 2.797 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.004282/0.2351, allocations: 1.459 MB / 426.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2352, allocations: 11.97 kB / 426.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.2379, allocations: 387.6 kB / 426.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.2382, allocations: 259.2 kB / 426.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.2382, allocations: 66.38 kB / 426.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.2383, allocations: 88.36 kB / 426.8 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.2399, allocations: 0.8797 MB / 427.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.24, allocations: 0 / 427.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.24, allocations: 32 kB / 427.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2401, allocations: 20 kB / 427.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.2418, allocations: 0.8042 MB / 428.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.246, allocations: 3.005 MB / 431.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.2472, allocations: 1 MB / 432.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.2478, allocations: 242.4 kB / 432.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.2479, allocations: 174.8 kB / 433 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2479, allocations: 39.06 kB / 433 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.884e-06/0.2479, allocations: 0 / 433 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007053/0.255, allocations: 2.404 MB / 435.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.2551, allocations: 85.61 kB / 435.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2554, allocations: 320.4 kB / 435.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.2554, allocations: 37.7 kB / 435.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2557, allocations: 362.5 kB / 436.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.2558, allocations: 209 kB / 436.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.256, allocations: 150.5 kB / 436.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2562, allocations: 350.7 kB / 436.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/0.2569, allocations: 277.8 kB / 437.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.2578, allocations: 0.5003 MB / 437.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.2594, allocations: 0.8037 MB / 438.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2595, allocations: 4 kB / 438.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001978/0.2614, allocations: 0.8909 MB / 439.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2615, allocations: 11.98 kB / 439.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2615, allocations: 11.94 kB / 439.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.2617, allocations: 77.61 kB / 439.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.2626, allocations: 199.7 kB / 439.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.2645, allocations: 2.868 MB / 442.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.2652, allocations: 59.95 kB / 442.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.2653, allocations: 40.05 kB / 442.6 MB, free: 15.6 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.0002566/0.2655, allocations: 217.5 kB / 442.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.2656, allocations: 43.47 kB / 442.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.2675, allocations: 0.7389 MB / 443.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2675, allocations: 3.984 kB / 443.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2675, allocations: 0 / 443.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.2677, allocations: 156.6 kB / 443.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2678, allocations: 19.92 kB / 443.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.2683, allocations: 51.89 kB / 443.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2684, allocations: 48.5 kB / 443.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002102/0.2705, allocations: 0.7774 MB / 444.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002274/0.2728, allocations: 1.099 MB / 445.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006711/0.2735, allocations: 276.3 kB / 446.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2737, allocations: 219.1 kB / 446.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.2737, allocations: 4 kB / 446.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.2755, allocations: 0.9221 MB / 447.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 0.001644/0.2772, allocations: 1.485 MB / 448.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of Templates: time 0.01664/0.2939, allocations: 10.88 MB / 459.6 MB, free: 14.57 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches