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.001143/0.001143, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2291, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007029/0.2362, allocations: 5.048 MB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.2405, allocations: 2.144 MB / 416.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.2409, allocations: 16 kB / 416.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.2438, allocations: 1.411 MB / 417.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2449, allocations: 413.4 kB / 418.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.247, allocations: 1.207 MB / 419.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.2478, allocations: 0.7317 MB / 420.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000873/0.2487, allocations: 0.6571 MB / 420.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.249, allocations: 326.8 kB / 421.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.2495, allocations: 434.3 kB / 421.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.2496, allocations: 72 kB / 421.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.2503, allocations: 411.6 kB / 422.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.2504, allocations: 171.4 kB / 422.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.2507, allocations: 366.2 kB / 422.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2519, allocations: 1.208 MB / 423.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2519, allocations: 0 / 423.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2519, allocations: 3.938 kB / 423.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.2519, allocations: 0 / 423.8 MB, free: 2.977 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.003983/0.2559, allocations: 1.451 MB / 425.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.256, allocations: 12.03 kB / 425.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.2585, allocations: 379.7 kB / 425.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.2588, allocations: 263.8 kB / 425.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.2589, allocations: 70.38 kB / 426 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.2591, allocations: 80.38 kB / 426.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.2606, allocations: 0.8683 MB / 426.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2607, allocations: 11.94 kB / 426.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.2608, allocations: 32 kB / 427 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2608, allocations: 20 kB / 427 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.2625, allocations: 0.8003 MB / 427.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/0.2666, allocations: 3.001 MB / 430.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2677, allocations: 1.008 MB / 431.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.2682, allocations: 234.4 kB / 432 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.2684, allocations: 186.8 kB / 432.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2684, allocations: 35.12 kB / 432.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 4.439e-06/0.2684, allocations: 0 / 432.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006672/0.2751, allocations: 2.4 MB / 434.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.2752, allocations: 81.67 kB / 434.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.2755, allocations: 303.1 kB / 435 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.2755, allocations: 37.7 kB / 435.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.2757, allocations: 362.6 kB / 435.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.2759, allocations: 205 kB / 435.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.2761, allocations: 146.6 kB / 435.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2762, allocations: 350.8 kB / 436.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.2769, allocations: 265.8 kB / 436.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.2777, allocations: 0.5042 MB / 436.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.2793, allocations: 0.8153 MB / 437.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2793, allocations: 0 / 437.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001898/0.2812, allocations: 0.8982 MB / 438.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2812, allocations: 8 kB / 438.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2812, allocations: 8 kB / 438.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.2814, allocations: 74.05 kB / 438.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.2823, allocations: 199.7 kB / 438.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.2842, allocations: 2.868 MB / 441.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.2848, allocations: 67.91 kB / 441.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.2849, allocations: 32 kB / 441.8 MB, free: 15.83 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.000307/0.2852, allocations: 217.7 kB / 442 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.2853, allocations: 43.52 kB / 442.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.287, allocations: 0.7311 MB / 442.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2871, allocations: 8 kB / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2871, allocations: 0 / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2871, allocations: 7.984 kB / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.2896, allocations: 1.413 MB / 444.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2896, allocations: 0 / 444.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.2902, allocations: 131.8 kB / 444.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.2904, allocations: 65.66 kB / 444.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.2905, allocations: 12 kB / 444.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.2923, allocations: 2.849 MB / 447.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2923, allocations: 0 / 447.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.2945, allocations: 1.083 MB / 448.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.2948, allocations: 168.4 kB / 448.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.2948, allocations: 12 kB / 448.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.2953, allocations: 48.02 kB / 448.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2954, allocations: 44.5 kB / 448.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.2955, allocations: 15.98 kB / 448.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2957, allocations: 211.1 kB / 448.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2957, allocations: 0 / 448.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007171/0.2964, allocations: 180 kB / 449 MB, free: 8.199 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.0002871/0.2967, allocations: 167.1 kB / 449.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.2986, allocations: 0.904 MB / 450.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2986, allocations: 0 / 450.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009482/0.2995, allocations: 0.5518 MB / 450.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.3, allocations: 51.89 kB / 450.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.3027, allocations: 1.237 MB / 452 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.3031, allocations: 0.881 MB / 452.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003502/0.3035, allocations: 84.52 kB / 452.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3036, allocations: 51.41 kB / 453 MB, free: 4.176 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3037, allocations: 0 / 453 MB, free: 4.176 MB / 366.1 MB Notification: Performance of Templates: time 0.01302/0.3167, allocations: 6.42 MB / 459.4 MB, free: 13.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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