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.001566/0.001566, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001892/0.001892, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.586/1.586, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 47.19 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1057, allocations: 49.45 MB / 350.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007197/0.113, allocations: 5.06 MB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.1167, allocations: 2.094 MB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.1173, allocations: 16 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.1208, allocations: 1.407 MB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.1224, allocations: 0.5786 MB / 359.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1245, allocations: 1.065 MB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1255, allocations: 0.7318 MB / 361.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.1267, allocations: 0.6692 MB / 362.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.1272, allocations: 330.8 kB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006713/0.1279, allocations: 434.3 kB / 363.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.1281, allocations: 68 kB / 363.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.129, allocations: 395.6 kB / 363.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1292, allocations: 171.3 kB / 363.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.1297, allocations: 378.1 kB / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1313, allocations: 1.195 MB / 365.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1313, allocations: 0 / 365.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1313, allocations: 0 / 365.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.1313, allocations: 0 / 365.3 MB, free: 5.773 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.004672/0.136, allocations: 1.463 MB / 366.8 MB, free: 4.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1361, allocations: 8.031 kB / 366.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.1388, allocations: 375.7 kB / 367.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1391, allocations: 259.8 kB / 367.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.1392, allocations: 62.38 kB / 367.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.1393, allocations: 84.38 kB / 367.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.1411, allocations: 0.8797 MB / 368.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.1412, allocations: 4 kB / 368.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.1413, allocations: 32 kB / 368.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1413, allocations: 20 kB / 368.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.1433, allocations: 0.8082 MB / 369.3 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.185/0.3283, allocations: 2.961 MB / 372.2 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.3297, allocations: 0.9982 MB / 373.2 MB, free: 22.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/0.3304, allocations: 241.1 kB / 373.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3305, allocations: 97.88 kB / 373.6 MB, free: 22.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3306, allocations: 39.25 kB / 373.6 MB, free: 22.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.695e-06/0.3306, allocations: 1 kB / 373.6 MB, free: 22.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008453/0.339, allocations: 2.421 MB / 376 MB, free: 21.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3391, allocations: 88.17 kB / 376.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.3396, allocations: 319.9 kB / 376.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.3396, allocations: 36.45 kB / 376.5 MB, free: 21.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.3399, allocations: 358.9 kB / 376.8 MB, free: 21.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.34, allocations: 221.2 kB / 377 MB, free: 21.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3403, allocations: 146.8 kB / 377.2 MB, free: 21.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.3404, allocations: 351.6 kB / 377.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/0.3411, allocations: 276.1 kB / 377.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.3421, allocations: 0.5108 MB / 378.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.344, allocations: 0.8106 MB / 379.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.344, allocations: 2.219 kB / 379.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002388/0.3464, allocations: 0.9045 MB / 380 MB, free: 19.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.3464, allocations: 21.02 kB / 380 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.3465, allocations: 7.656 kB / 380 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.3468, allocations: 70.45 kB / 380.1 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/0.3478, allocations: 202.3 kB / 380.3 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.3495, allocations: 2.865 MB / 383.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.3503, allocations: 62.53 kB / 383.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.3504, allocations: 42.34 kB / 383.3 MB, free: 16.43 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.000335/0.3508, allocations: 212.4 kB / 383.5 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.3509, allocations: 50.09 kB / 383.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.353, allocations: 0.7402 MB / 384.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3531, allocations: 10.16 kB / 384.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3531, allocations: 5.281 kB / 384.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.3531, allocations: 8.109 kB / 384.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.3562, allocations: 1.427 MB / 385.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3562, allocations: 3.688 kB / 385.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.3569, allocations: 139.6 kB / 385.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.3571, allocations: 61.19 kB / 385.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.3572, allocations: 16.11 kB / 385.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.3587, allocations: 2.85 MB / 388.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3588, allocations: 5.25 kB / 388.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.3615, allocations: 1.091 MB / 389.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3618, allocations: 169.2 kB / 390 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.3619, allocations: 11.5 kB / 390.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.3624, allocations: 51.27 kB / 390.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3626, allocations: 43.75 kB / 390.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.3626, allocations: 19.69 kB / 390.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3628, allocations: 220.1 kB / 390.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3629, allocations: 0 / 390.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.3637, allocations: 177.9 kB / 390.6 MB, free: 11.45 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.00028/0.364, allocations: 162.8 kB / 390.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.3666, allocations: 0.9434 MB / 391.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3666, allocations: 3.828 kB / 391.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.3677, allocations: 0.5542 MB / 392.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.3684, allocations: 48.55 kB / 392.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.3717, allocations: 1.287 MB / 393.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3721, allocations: 0.8788 MB / 394.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3724, allocations: 62.91 kB / 394.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3724, allocations: 0 / 394.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of Templates: time 0.01496/0.3874, allocations: 13.23 MB / 407.7 MB, free: 15.79 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