Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 109.2 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009218/0.0009218, allocations: 43.94 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2043, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00598/0.2103, allocations: 5.041 MB / 406.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.2136, allocations: 2.094 MB / 408.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.2139, allocations: 16 kB / 408.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.2169, allocations: 1.401 MB / 410 MB, free: 288 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.2182, allocations: 0.5749 MB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.2201, allocations: 1.067 MB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000815/0.221, allocations: 0.7395 MB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.2219, allocations: 0.6468 MB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.2223, allocations: 338.8 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.2228, allocations: 426.3 kB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.2229, allocations: 68 kB / 413.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/0.2235, allocations: 387.6 kB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2237, allocations: 171.4 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.224, allocations: 370.2 kB / 414.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2252, allocations: 1.188 MB / 415.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2252, allocations: 0 / 415.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2252, allocations: 0 / 415.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.2252, allocations: 3.938 kB / 415.9 MB, free: 10.32 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.2295, allocations: 1.444 MB / 417.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2295, allocations: 11.97 kB / 417.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.2323, allocations: 387.7 kB / 417.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2325, allocations: 260.6 kB / 418 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.2326, allocations: 62.38 kB / 418.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2327, allocations: 88.38 kB / 418.2 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.2343, allocations: 0.8761 MB / 419 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.2344, allocations: 0 / 419 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.2345, allocations: 43.94 kB / 419.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.2345, allocations: 20 kB / 419.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.2363, allocations: 0.8003 MB / 419.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.2404, allocations: 2.93 MB / 422.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.2417, allocations: 1.003 MB / 423.8 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.2422, allocations: 242.4 kB / 424.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.2424, allocations: 97.64 kB / 424.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2424, allocations: 39.06 kB / 424.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 1.823e-06/0.2424, allocations: 0 / 424.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.008299/0.2507, allocations: 2.415 MB / 426.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2508, allocations: 89.61 kB / 426.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.2511, allocations: 307 kB / 427 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.2511, allocations: 37.7 kB / 427 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.2513, allocations: 358.6 kB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2515, allocations: 213 kB / 427.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.2517, allocations: 146.5 kB / 427.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2519, allocations: 346.8 kB / 428.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008358/0.2528, allocations: 277.8 kB / 428.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/0.2537, allocations: 0.512 MB / 428.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.2556, allocations: 0.8037 MB / 429.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.2556, allocations: 7.938 kB / 429.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002241/0.2579, allocations: 0.8988 MB / 430.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2579, allocations: 12 kB / 430.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2579, allocations: 11.94 kB / 430.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.2581, allocations: 69.61 kB / 430.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/0.259, allocations: 203.7 kB / 430.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.2611, allocations: 2.876 MB / 433.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.2617, allocations: 67.92 kB / 433.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.2618, allocations: 39.98 kB / 433.8 MB, free: 7.297 MB / 350.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.0002694/0.2621, allocations: 209.6 kB / 434 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.2622, allocations: 43.53 kB / 434.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.2643, allocations: 0.7429 MB / 434.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2643, allocations: 3.984 kB / 434.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2643, allocations: 0 / 434.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.2645, allocations: 164.4 kB / 435 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.2646, allocations: 15.94 kB / 435 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.2651, allocations: 51.95 kB / 435.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2652, allocations: 48.48 kB / 435.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002343/0.2676, allocations: 0.7736 MB / 435.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002597/0.2702, allocations: 1.103 MB / 437 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007883/0.271, allocations: 284.3 kB / 437.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.2712, allocations: 219 kB / 437.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.2712, allocations: 0 / 437.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.2732, allocations: 0.9293 MB / 438.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of SimCode: time 0.00164/0.2748, allocations: 1.463 MB / 439.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Templates: time 0.01655/0.2914, allocations: 10.71 MB / 450.6 MB, free: 6.438 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches