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.001067/0.001067, allocations: 111.7 kB / 17.05 MB, free: 5.711 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.001057/0.001057, allocations: 188 kB / 17.99 MB, free: 5.055 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009687, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2538, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006016/0.2598, allocations: 5.075 MB / 405.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2631, allocations: 2.098 MB / 407.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.2636, allocations: 19.94 kB / 407.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003054/0.2667, allocations: 1.402 MB / 409.3 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.2681, allocations: 0.5709 MB / 409.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.2701, allocations: 1.062 MB / 411 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.2711, allocations: 0.7511 MB / 411.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.2722, allocations: 0.6534 MB / 412.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.2726, allocations: 330.8 kB / 412.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.2733, allocations: 434.3 kB / 413.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.2734, allocations: 68 kB / 413.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/0.2743, allocations: 399.6 kB / 413.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2745, allocations: 159.4 kB / 413.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.2749, allocations: 382.1 kB / 414.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.2765, allocations: 1.21 MB / 415.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2765, allocations: 0 / 415.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2765, allocations: 0 / 415.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.2766, allocations: 0 / 415.3 MB, free: 10.25 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.004408/0.281, allocations: 1.473 MB / 416.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.281, allocations: 15.95 kB / 416.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.2837, allocations: 384.1 kB / 417.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.284, allocations: 263.9 kB / 417.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.284, allocations: 62.38 kB / 417.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.2842, allocations: 80.38 kB / 417.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.286, allocations: 0.8874 MB / 418.5 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.286, allocations: 3.938 kB / 418.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.2861, allocations: 36 kB / 418.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.2861, allocations: 20 kB / 418.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.288, allocations: 0.8003 MB / 419.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.2921, allocations: 2.943 MB / 422.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2934, allocations: 1.007 MB / 423.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.2939, allocations: 238.4 kB / 423.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.294, allocations: 101.6 kB / 423.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2941, allocations: 39.12 kB / 423.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.265e-06/0.2941, allocations: 0 / 423.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.007797/0.3019, allocations: 2.428 MB / 426.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.302, allocations: 89.61 kB / 426.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.3023, allocations: 316.5 kB / 426.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3023, allocations: 37.7 kB / 426.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3025, allocations: 379.9 kB / 426.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3027, allocations: 218.1 kB / 427.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.3029, allocations: 154.5 kB / 427.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.303, allocations: 350.7 kB / 427.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007838/0.3038, allocations: 277.8 kB / 427.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.3048, allocations: 0.5003 MB / 428.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.3065, allocations: 0.8115 MB / 429.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3065, allocations: 4 kB / 429.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00215/0.3086, allocations: 0.9145 MB / 430.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3087, allocations: 14.59 kB / 430.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3087, allocations: 8 kB / 430.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.309, allocations: 73.67 kB / 430.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.3098, allocations: 199.7 kB / 430.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.3118, allocations: 2.872 MB / 433.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.3125, allocations: 63.94 kB / 433.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.3126, allocations: 40.05 kB / 433.3 MB, free: 7.121 MB / 350.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.0003036/0.3129, allocations: 217.6 kB / 433.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.313, allocations: 47.66 kB / 433.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.315, allocations: 0.7469 MB / 434.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.315, allocations: 4 kB / 434.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.315, allocations: 0 / 434.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.315, allocations: 11.92 kB / 434.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.3177, allocations: 1.421 MB / 435.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3177, allocations: 0 / 435.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.3184, allocations: 143.8 kB / 435.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.3186, allocations: 61.67 kB / 436 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.3186, allocations: 15.98 kB / 436 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.3204, allocations: 2.848 MB / 438.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3204, allocations: 0 / 438.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.323, allocations: 1.095 MB / 439.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.3233, allocations: 169 kB / 440.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.3233, allocations: 12 kB / 440.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.3238, allocations: 52 kB / 440.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.324, allocations: 44.5 kB / 440.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.324, allocations: 23.92 kB / 440.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3243, allocations: 219.1 kB / 440.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3243, allocations: 0 / 440.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006928/0.325, allocations: 176 kB / 440.6 MB, free: 15.42 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.0002523/0.3252, allocations: 171.1 kB / 440.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.3272, allocations: 0.9198 MB / 441.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3273, allocations: 0 / 441.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3283, allocations: 0.5555 MB / 442.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3287, allocations: 52.83 kB / 442.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3313, allocations: 1.249 MB / 443.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3318, allocations: 0.8887 MB / 444.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.3322, allocations: 92.61 kB / 444.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3324, allocations: 47.42 kB / 444.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3324, allocations: 0 / 444.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.0116/0.344, allocations: 6.492 MB / 451.1 MB, free: 4.891 MB / 366.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