Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 79.81 kB / 367.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2601, allocations: 53.3 MB / 420.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004195/0.2642, allocations: 2.831 MB / 423.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2657, allocations: 0.7867 MB / 424.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.2658, allocations: 4 kB / 424.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.266, allocations: 63.39 kB / 424.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2663, allocations: 99.23 kB / 424.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.2666, allocations: 111.8 kB / 424.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.267, allocations: 390.5 kB / 424.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.2672, allocations: 102.9 kB / 425 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.2675, allocations: 155.4 kB / 425.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.2677, allocations: 179.2 kB / 425.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.2678, allocations: 32 kB / 425.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.2678, allocations: 32 kB / 425.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.2679, allocations: 67.77 kB / 425.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.268, allocations: 175.1 kB / 425.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.2685, allocations: 402.2 kB / 426 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2685, allocations: 0 / 426 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2685, allocations: 0 / 426 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2685, allocations: 4 kB / 426.1 MB, free: 3.043 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001191/0.2697, allocations: 0.6467 MB / 426.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2697, allocations: 8.031 kB / 426.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.2698, allocations: 44.7 kB / 426.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.2702, allocations: 272.7 kB / 427 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.2702, allocations: 25.03 kB / 427 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.2703, allocations: 32.38 kB / 427.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.2709, allocations: 290.3 kB / 427.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2709, allocations: 3.938 kB / 427.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2709, allocations: 12 kB / 427.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2709, allocations: 11.94 kB / 427.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.2716, allocations: 254.5 kB / 427.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2733, allocations: 1.108 MB / 428.7 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.2737, allocations: 160 kB / 428.9 MB, free: 0 / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.2739, allocations: 60.83 kB / 429 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2739, allocations: 4 kB / 429 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.274, allocations: 46.55 kB / 429 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.274, allocations: 0 / 429 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002057/0.276, allocations: 0.5829 MB / 429.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2761, allocations: 55.41 kB / 429.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.2764, allocations: 270.5 kB / 429.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2764, allocations: 33.7 kB / 429.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2766, allocations: 236 kB / 430.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.2766, allocations: 71.38 kB / 430.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2767, allocations: 69.44 kB / 430.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2769, allocations: 338.8 kB / 430.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.2772, allocations: 95.92 kB / 430.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.2775, allocations: 192.1 kB / 430.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.2782, allocations: 309.1 kB / 431.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2782, allocations: 0 / 431.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008617/0.279, allocations: 393 kB / 431.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.279, allocations: 8 kB / 431.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2791, allocations: 0 / 431.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.2793, allocations: 66.02 kB / 431.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.2797, allocations: 75.89 kB / 431.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.282, allocations: 2.829 MB / 434.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.2822, allocations: 23.98 kB / 434.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2823, allocations: 19.98 kB / 434.6 MB, free: 9.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001702/0.2824, allocations: 157.7 kB / 434.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.2825, allocations: 27.8 kB / 434.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.2826, allocations: 30.17 kB / 434.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.2826, allocations: 4 kB / 434.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2826, allocations: 0 / 434.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2826, allocations: 0 / 434.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.283, allocations: 337.4 kB / 435.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.283, allocations: 0 / 435.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.2832, allocations: 47.89 kB / 435.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.2834, allocations: 49.69 kB / 435.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2834, allocations: 4 kB / 435.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.2855, allocations: 2.83 MB / 438.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2855, allocations: 7.875 kB / 438.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.2862, allocations: 372.9 kB / 438.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.2863, allocations: 108.9 kB / 438.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2864, allocations: 0 / 438.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2866, allocations: 15.98 kB / 438.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.2866, allocations: 23.97 kB / 438.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2866, allocations: 4 kB / 438.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.2868, allocations: 190 kB / 438.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2868, allocations: 0 / 438.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.2872, allocations: 76 kB / 438.9 MB, free: 5.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001224/0.2873, allocations: 95.25 kB / 439 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009304/0.2883, allocations: 477.5 kB / 439.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2883, allocations: 192 / 439.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.2888, allocations: 346.5 kB / 439.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2891, allocations: 35.5 kB / 439.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2902, allocations: 0.5549 MB / 440.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.2906, allocations: 0.7714 MB / 441.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2907, allocations: 26.28 kB / 441.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.2907, allocations: 23.44 kB / 441.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2907, allocations: 0 / 441.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Templates: time 0.007018/0.2978, allocations: 2.806 MB / 444 MB, free: 15.96 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches