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.0009658/0.0009659, allocations: 91.52 kB / 16.65 MB, free: 6.602 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.00125/0.00125, allocations: 175.6 kB / 17.56 MB, free: 6.203 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.314/1.314, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 7.938 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 50.42 MB / 351.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.009321/0.123, allocations: 4.592 MB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.1293, allocations: 2.036 MB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.1298, allocations: 16 kB / 358.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.131, allocations: 306.8 kB / 358.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.1333, allocations: 0.521 MB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.1369, allocations: 1.001 MB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1385, allocations: 0.7122 MB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003791/0.1423, allocations: 1.243 MB / 362.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/0.143, allocations: 282.8 kB / 362.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007501/0.1437, allocations: 386.4 kB / 362.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1439, allocations: 32 kB / 363 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.1453, allocations: 355.6 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1456, allocations: 131.4 kB / 363.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.1461, allocations: 359.8 kB / 363.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.1484, allocations: 1.137 MB / 364.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1484, allocations: 0 / 364.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1485, allocations: 4 kB / 364.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1485, allocations: 0 / 364.9 MB, free: 6.309 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.008045/0.1565, allocations: 1.334 MB / 366.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/0.1566, allocations: 8.031 kB / 366.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005553/0.1622, allocations: 399.6 kB / 366.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.1628, allocations: 267.1 kB / 366.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.1629, allocations: 66.38 kB / 367 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.1633, allocations: 76.38 kB / 367.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.1666, allocations: 0.8954 MB / 368 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.1667, allocations: 3.938 kB / 368 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.1668, allocations: 36 kB / 368 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.1669, allocations: 20 kB / 368 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.1705, allocations: 0.8355 MB / 368.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1686/0.3391, allocations: 2.963 MB / 371.8 MB, free: 22.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.3404, allocations: 1.01 MB / 372.8 MB, free: 22.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.341, allocations: 248.5 kB / 373.1 MB, free: 22.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.3411, allocations: 97.77 kB / 373.2 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3412, allocations: 43.62 kB / 373.2 MB, free: 21.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.455e-06/0.3412, allocations: 1.062 kB / 373.2 MB, free: 21.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008718/0.3499, allocations: 2.698 MB / 375.9 MB, free: 21.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.35, allocations: 84.2 kB / 376 MB, free: 21.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3503, allocations: 322.8 kB / 376.3 MB, free: 21.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.3503, allocations: 36.08 kB / 376.3 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3505, allocations: 357.5 kB / 376.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.3506, allocations: 211.5 kB / 376.9 MB, free: 20.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.3507, allocations: 69.58 kB / 377 MB, free: 20.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.3508, allocations: 349.6 kB / 377.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.3516, allocations: 298.7 kB / 377.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.3525, allocations: 0.5315 MB / 378.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.3542, allocations: 0.8607 MB / 379 MB, free: 19.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3543, allocations: 5.312 kB / 379 MB, free: 19.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002178/0.3564, allocations: 0.9548 MB / 379.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3565, allocations: 11.75 kB / 380 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3565, allocations: 7.219 kB / 380 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.3567, allocations: 66.55 kB / 380 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.3576, allocations: 221.4 kB / 380.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.359, allocations: 2.668 MB / 382.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000716/0.3597, allocations: 75.25 kB / 383 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.3598, allocations: 41.62 kB / 383 MB, free: 16.36 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.0002536/0.36, allocations: 220.3 kB / 383.2 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.3601, allocations: 43.77 kB / 383.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.3622, allocations: 0.7973 MB / 384.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3622, allocations: 6.594 kB / 384.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3622, allocations: 1.062 kB / 384.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3622, allocations: 2.625 kB / 384.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.365, allocations: 1.467 MB / 385.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3651, allocations: 0.9688 kB / 385.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.3658, allocations: 153.7 kB / 385.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.366, allocations: 60.81 kB / 385.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.366, allocations: 20.69 kB / 385.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.3674, allocations: 2.646 MB / 388.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3674, allocations: 3.656 kB / 388.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.3701, allocations: 1.162 MB / 389.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3703, allocations: 167.8 kB / 389.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.3704, allocations: 11.06 kB / 389.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.3709, allocations: 63.47 kB / 389.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3711, allocations: 47.95 kB / 389.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.3711, allocations: 20.98 kB / 389.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3713, allocations: 215.6 kB / 390.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3714, allocations: 0 / 390.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008308/0.3722, allocations: 175.1 kB / 390.3 MB, free: 11.57 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.0002183/0.3724, allocations: 168.3 kB / 390.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.3745, allocations: 0.9615 MB / 391.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3745, allocations: 0 / 391.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.3755, allocations: 0.5818 MB / 392 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.376, allocations: 49.45 kB / 392 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.3785, allocations: 1.627 MB / 393.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3787, allocations: 0.8792 MB / 394.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004857/0.3792, allocations: 94.16 kB / 394.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.3794, allocations: 52.44 kB / 394.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3794, allocations: 0 / 394.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Templates: time 0.009898/0.3893, allocations: 6.015 MB / 400.7 MB, free: 6.461 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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