Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 98.48 kB / 17.31 MB, free: 6.391 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.0008562/0.0008563, allocations: 177.8 kB / 18.21 MB, free: 5.551 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.123/1.123, allocations: 223.3 MB / 242.2 MB, free: 264 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002039/0.0002039, allocations: 7.938 kB / 302.1 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07026/0.07048, allocations: 50.42 MB / 352.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004044/0.07455, allocations: 4.599 MB / 357.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.07692, allocations: 2.036 MB / 359.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.07708, allocations: 16 kB / 359.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.07758, allocations: 306.8 kB / 359.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.07849, allocations: 0.5133 MB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.08005, allocations: 1.012 MB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.08065, allocations: 0.7044 MB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.08248, allocations: 1.241 MB / 362.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.08279, allocations: 282.8 kB / 363.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.08315, allocations: 386.3 kB / 363.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.08321, allocations: 32 kB / 363.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.08374, allocations: 359.7 kB / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.08384, allocations: 127.4 kB / 364.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.08413, allocations: 359.8 kB / 364.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.08493, allocations: 0.9 MB / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.08494, allocations: 0 / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08495, allocations: 0 / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.08496, allocations: 0 / 365.3 MB, free: 6.809 MB / 302.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.003696/0.08866, allocations: 1.327 MB / 366.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.0887, allocations: 8.031 kB / 366.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.09109, allocations: 395.6 kB / 367.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.09129, allocations: 279.1 kB / 367.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.09135, allocations: 62.38 kB / 367.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.09147, allocations: 84.38 kB / 367.5 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.093, allocations: 0.8876 MB / 368.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.09304, allocations: 8 kB / 368.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.09311, allocations: 32 kB / 368.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.09313, allocations: 20 kB / 368.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.09487, allocations: 0.8355 MB / 369.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1287/0.2236, allocations: 2.96 MB / 372.2 MB, free: 23.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.2248, allocations: 1.008 MB / 373.2 MB, free: 22.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.2253, allocations: 253.6 kB / 373.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.2254, allocations: 92.27 kB / 373.6 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2254, allocations: 41.41 kB / 373.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.395e-06/0.2254, allocations: 0 / 373.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007704/0.2331, allocations: 2.701 MB / 376.3 MB, free: 21.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2332, allocations: 84.45 kB / 376.4 MB, free: 21.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.2335, allocations: 318.8 kB / 376.7 MB, free: 21.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.2335, allocations: 40.45 kB / 376.7 MB, free: 21.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2337, allocations: 363.8 kB / 377.1 MB, free: 21.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.2338, allocations: 212.9 kB / 377.3 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.2339, allocations: 66.86 kB / 377.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.2339, allocations: 348.6 kB / 377.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/0.2347, allocations: 301.1 kB / 378 MB, free: 20.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008314/0.2355, allocations: 0.5287 MB / 378.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.2371, allocations: 0.8585 MB / 379.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2371, allocations: 2.938 kB / 379.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001977/0.2391, allocations: 0.955 MB / 380.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2391, allocations: 11.81 kB / 380.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2391, allocations: 8.547 kB / 380.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.2394, allocations: 69.92 kB / 380.4 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.2402, allocations: 214.2 kB / 380.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.2413, allocations: 2.674 MB / 383.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/0.242, allocations: 74.39 kB / 383.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.242, allocations: 39.77 kB / 383.4 MB, free: 16.85 MB / 302.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.0002074/0.2423, allocations: 214.2 kB / 383.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.2423, allocations: 47.19 kB / 383.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.2442, allocations: 0.7923 MB / 384.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2442, allocations: 7.438 kB / 384.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2442, allocations: 4.875 kB / 384.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2442, allocations: 3.734 kB / 384.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.2467, allocations: 1.479 MB / 386 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2467, allocations: 0.6094 kB / 386 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.2473, allocations: 150.6 kB / 386.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.2475, allocations: 59.95 kB / 386.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.2475, allocations: 20.92 kB / 386.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.2486, allocations: 2.649 MB / 388.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2486, allocations: 0 / 388.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.2511, allocations: 1.157 MB / 390 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2512, allocations: 168.3 kB / 390.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.2513, allocations: 11.81 kB / 390.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.2518, allocations: 60.83 kB / 390.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2519, allocations: 48.08 kB / 390.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.2519, allocations: 24.67 kB / 390.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.2521, allocations: 220.6 kB / 390.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2521, allocations: 0 / 390.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005725/0.2527, allocations: 173.4 kB / 390.7 MB, free: 12.05 MB / 302.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.0001836/0.2529, allocations: 161 kB / 390.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.2547, allocations: 0.9658 MB / 391.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2548, allocations: 1.594 kB / 391.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009053/0.2557, allocations: 0.5786 MB / 392.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.256, allocations: 46.17 kB / 392.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.2582, allocations: 1.665 MB / 394.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.2585, allocations: 0.8835 MB / 395 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.2587, allocations: 62.16 kB / 395.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2587, allocations: 0 / 395.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Templates: time 0.01144/0.2701, allocations: 13.13 MB / 408.2 MB, free: 15.69 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches