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.001064/0.001064, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1982, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005984/0.2042, allocations: 5.048 MB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.2075, allocations: 2.144 MB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.2078, allocations: 16 kB / 417.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.2108, allocations: 1.408 MB / 418.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009388/0.2117, allocations: 413.4 kB / 419 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.2138, allocations: 1.203 MB / 420.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.2145, allocations: 0.7278 MB / 420.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008648/0.2154, allocations: 0.6571 MB / 421.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.2158, allocations: 334.8 kB / 421.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.2162, allocations: 434.3 kB / 422.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-05/0.2163, allocations: 68 kB / 422.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.2169, allocations: 411.6 kB / 422.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2171, allocations: 167.4 kB / 422.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.2174, allocations: 370.2 kB / 423.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2185, allocations: 1.208 MB / 424.5 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2185, allocations: 8 kB / 424.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2185, allocations: 0 / 424.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2185, allocations: 0 / 424.5 MB, free: 2.992 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.00411/0.2227, allocations: 1.455 MB / 426 MB, free: 1.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2227, allocations: 8.031 kB / 426 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.2254, allocations: 379.8 kB / 426.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.2256, allocations: 263.9 kB / 426.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.2257, allocations: 62.38 kB / 426.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2258, allocations: 84.38 kB / 426.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.2274, allocations: 0.8723 MB / 427.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.2274, allocations: 3.938 kB / 427.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.583e-05/0.2275, allocations: 39.94 kB / 427.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2275, allocations: 20 kB / 427.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.2292, allocations: 0.7964 MB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.2333, allocations: 3.005 MB / 431.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.2345, allocations: 1.008 MB / 432.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.235, allocations: 238.4 kB / 432.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.2352, allocations: 178.8 kB / 432.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2352, allocations: 39.12 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.983e-06/0.2352, allocations: 0 / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006989/0.2422, allocations: 2.388 MB / 435.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.2423, allocations: 89.67 kB / 435.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.2426, allocations: 303.1 kB / 435.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.2426, allocations: 37.7 kB / 435.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.2428, allocations: 366.6 kB / 436.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.243, allocations: 205 kB / 436.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2432, allocations: 138.6 kB / 436.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2433, allocations: 350.8 kB / 436.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.2441, allocations: 273.8 kB / 437.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008603/0.2449, allocations: 0.5003 MB / 437.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.2466, allocations: 0.8037 MB / 438.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2466, allocations: 11.94 kB / 438.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001971/0.2485, allocations: 0.9025 MB / 439.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2486, allocations: 8 kB / 439.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2486, allocations: 8 kB / 439.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.2488, allocations: 73.64 kB / 439.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/0.2497, allocations: 199.7 kB / 439.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.2517, allocations: 2.86 MB / 442.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.2523, allocations: 71.84 kB / 442.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.2524, allocations: 32 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.0002541/0.2526, allocations: 225.6 kB / 442.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.2527, allocations: 39.53 kB / 442.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.2545, allocations: 0.7311 MB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.2545, allocations: 3.984 kB / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2546, allocations: 0 / 443.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.2548, allocations: 160.6 kB / 443.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.2548, allocations: 19.88 kB / 443.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.2553, allocations: 51.95 kB / 443.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2555, allocations: 44.48 kB / 443.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002053/0.2575, allocations: 0.7697 MB / 444.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00226/0.2598, allocations: 1.099 MB / 445.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006975/0.2605, allocations: 280.3 kB / 445.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.2607, allocations: 211 kB / 446.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Backend: time 3.51e-07/0.2607, allocations: 7.938 kB / 446.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.2625, allocations: 0.9261 MB / 447.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 0.001578/0.2641, allocations: 1.467 MB / 448.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01657/0.2807, allocations: 10.78 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