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.001116/0.001116, allocations: 116.4 kB / 17.69 MB, free: 5.312 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.001149/0.001149, allocations: 191 kB / 18.63 MB, free: 4.379 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.257/1.257, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008751/0.0008751, allocations: 47.11 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08628, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005546/0.09185, allocations: 5.083 MB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.09489, allocations: 2.086 MB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.09516, allocations: 19.94 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.09784, allocations: 1.391 MB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.09891, allocations: 0.5826 MB / 360.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1007, allocations: 1.053 MB / 361.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.1014, allocations: 0.7511 MB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008033/0.1022, allocations: 0.6572 MB / 363.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.1026, allocations: 334.8 kB / 363.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.103, allocations: 438.3 kB / 363.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.1031, allocations: 68 kB / 364 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006613/0.1037, allocations: 395.6 kB / 364.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1038, allocations: 163.4 kB / 364.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1041, allocations: 386.1 kB / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1052, allocations: 1.192 MB / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1052, allocations: 0 / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1052, allocations: 0 / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1052, allocations: 4 kB / 366.1 MB, free: 5.066 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.003886/0.1091, allocations: 1.459 MB / 367.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.6e-05/0.1091, allocations: 12.03 kB / 367.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.1116, allocations: 379.7 kB / 367.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1118, allocations: 259.8 kB / 368.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.1119, allocations: 66.38 kB / 368.2 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.112, allocations: 88.31 kB / 368.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1136, allocations: 0.872 MB / 369.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.1136, allocations: 12 kB / 369.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.1137, allocations: 28 kB / 369.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.1137, allocations: 20 kB / 369.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.1156, allocations: 0.8042 MB / 370.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1694/0.285, allocations: 2.926 MB / 373 MB, free: 23.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.2862, allocations: 1.009 MB / 374 MB, free: 23.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.2867, allocations: 241.2 kB / 374.2 MB, free: 22.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.2868, allocations: 97.3 kB / 374.3 MB, free: 22.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2868, allocations: 39.91 kB / 374.4 MB, free: 22.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.034e-06/0.2868, allocations: 0 / 374.4 MB, free: 22.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007642/0.2945, allocations: 2.425 MB / 376.8 MB, free: 21.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.2945, allocations: 84.55 kB / 376.9 MB, free: 21.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2949, allocations: 316.7 kB / 377.2 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.2949, allocations: 40.27 kB / 377.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.295, allocations: 360.8 kB / 377.6 MB, free: 21.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2952, allocations: 213.4 kB / 377.8 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.2954, allocations: 144.4 kB / 377.9 MB, free: 20.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.2954, allocations: 349.1 kB / 378.3 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.2962, allocations: 276.5 kB / 378.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.2971, allocations: 0.5059 MB / 379 MB, free: 20.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.2986, allocations: 0.8159 MB / 379.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.2987, allocations: 1.562 kB / 379.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002011/0.3007, allocations: 0.9165 MB / 380.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3007, allocations: 8.5 kB / 380.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3007, allocations: 7.344 kB / 380.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.301, allocations: 73.8 kB / 380.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.3018, allocations: 199.2 kB / 381.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.3032, allocations: 2.871 MB / 383.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.3039, allocations: 67.58 kB / 384 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.3039, allocations: 44.31 kB / 384 MB, free: 16.34 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.0002387/0.3042, allocations: 219.5 kB / 384.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.3043, allocations: 43.53 kB / 384.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.3062, allocations: 0.7463 MB / 385 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3062, allocations: 5.844 kB / 385 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3062, allocations: 1.5 kB / 385 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3062, allocations: 2.719 kB / 385 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.3089, allocations: 1.438 MB / 386.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3089, allocations: 4.453 kB / 386.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.3096, allocations: 131.9 kB / 386.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.3097, allocations: 64.33 kB / 386.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3098, allocations: 16.78 kB / 386.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.3111, allocations: 2.846 MB / 389.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3111, allocations: 0.8438 kB / 389.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.3135, allocations: 1.092 MB / 390.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.3137, allocations: 159.7 kB / 390.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.3138, allocations: 10.84 kB / 390.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.3144, allocations: 52.28 kB / 390.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.3146, allocations: 55.06 kB / 390.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.3146, allocations: 19.31 kB / 390.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.3148, allocations: 216 kB / 391.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3149, allocations: 0 / 391.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000766/0.3156, allocations: 179 kB / 391.3 MB, free: 11.37 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.0002191/0.3158, allocations: 156.4 kB / 391.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3179, allocations: 0.9198 MB / 392.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3179, allocations: 0 / 392.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009694/0.3189, allocations: 0.5553 MB / 392.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3193, allocations: 42.3 kB / 393 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.3218, allocations: 1.246 MB / 394.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3221, allocations: 0.8843 MB / 395.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.3224, allocations: 90 kB / 395.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3226, allocations: 49.45 kB / 395.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3226, allocations: 0 / 395.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of Templates: time 0.2565/0.5791, allocations: 6.365 MB / 401.6 MB, free: 6.07 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 -s cvode -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