Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009173/0.0009174, allocations: 178.8 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 241 MB, free: 10.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 93.17 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002906, allocations: 15.92 kB / 351.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2964, allocations: 50.4 MB / 402.2 MB, free: 32.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002625/0.2991, allocations: 2.363 MB / 404.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.3001, allocations: 0.6825 MB / 405.3 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.3002, allocations: 11.88 kB / 405.3 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.3004, allocations: 48.27 kB / 405.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.3007, allocations: 77.28 kB / 405.4 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3009, allocations: 84.75 kB / 405.5 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.3012, allocations: 364.6 kB / 405.8 MB, free: 28.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3014, allocations: 99.5 kB / 405.9 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3016, allocations: 119.5 kB / 406 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3018, allocations: 147.3 kB / 406.2 MB, free: 28.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.3018, allocations: 20.81 kB / 406.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.3019, allocations: 16 kB / 406.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.3019, allocations: 63.77 kB / 406.3 MB, free: 28.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.302, allocations: 81.52 kB / 406.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3022, allocations: 288.7 kB / 406.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.3023, allocations: 4 kB / 406.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3023, allocations: 0 / 406.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3023, allocations: 0 / 406.6 MB, free: 28.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001003/0.3033, allocations: 0.5963 MB / 407.2 MB, free: 27.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3033, allocations: 11.97 kB / 407.3 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.3034, allocations: 43.48 kB / 407.3 MB, free: 27.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3037, allocations: 258.5 kB / 407.5 MB, free: 27.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.3037, allocations: 24.66 kB / 407.6 MB, free: 27.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.3038, allocations: 28 kB / 407.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.3044, allocations: 294 kB / 407.9 MB, free: 26.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3044, allocations: 3.984 kB / 407.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.3044, allocations: 20 kB / 407.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3044, allocations: 8 kB / 407.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.305, allocations: 274.4 kB / 408.2 MB, free: 26.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3065, allocations: 1.12 MB / 409.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3069, allocations: 151.4 kB / 409.5 MB, free: 25.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.3071, allocations: 76.83 kB / 409.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3071, allocations: 3.984 kB / 409.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3072, allocations: 38.55 kB / 409.6 MB, free: 24.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.585e-06/0.3072, allocations: 0 / 409.6 MB, free: 24.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.002105/0.3093, allocations: 0.6733 MB / 410.2 MB, free: 24.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3093, allocations: 51.59 kB / 410.3 MB, free: 24.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.3096, allocations: 262.5 kB / 410.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3096, allocations: 29.7 kB / 410.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.3098, allocations: 227.5 kB / 410.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3098, allocations: 78.83 kB / 410.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3099, allocations: 12 kB / 410.9 MB, free: 23.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.31, allocations: 330.8 kB / 411.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.3103, allocations: 107.9 kB / 411.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3106, allocations: 204.1 kB / 411.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3109, allocations: 126.7 kB / 411.6 MB, free: 22.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3109, allocations: 7.953 kB / 411.7 MB, free: 22.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007539/0.3117, allocations: 409.5 kB / 412.1 MB, free: 22.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3117, allocations: 11.94 kB / 412.1 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3117, allocations: 4 kB / 412.1 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/0.312, allocations: 65.75 kB / 412.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.3123, allocations: 75.83 kB / 412.2 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.3137, allocations: 2.64 MB / 414.8 MB, free: 19.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3139, allocations: 31.88 kB / 414.9 MB, free: 19.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.314, allocations: 19.94 kB / 414.9 MB, free: 19.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.3141, allocations: 150.5 kB / 415 MB, free: 19.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3142, allocations: 23.72 kB / 415.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.3142, allocations: 30.17 kB / 415.1 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3142, allocations: 7.953 kB / 415.1 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3142, allocations: 0 / 415.1 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3142, allocations: 0 / 415.1 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.3145, allocations: 329.6 kB / 415.4 MB, free: 18.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3146, allocations: 0 / 415.4 MB, free: 18.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.3148, allocations: 47.97 kB / 415.5 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.3149, allocations: 53.61 kB / 415.5 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.315, allocations: 12 kB / 415.5 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.3162, allocations: 2.62 MB / 418.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3162, allocations: 0 / 418.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.3169, allocations: 401.4 kB / 418.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3169, allocations: 96.83 kB / 418.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.317, allocations: 8 kB / 418.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3172, allocations: 23.97 kB / 418.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3172, allocations: 23.91 kB / 418.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3173, allocations: 8 kB / 418.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.3174, allocations: 182 kB / 418.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3174, allocations: 0 / 418.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000372/0.3178, allocations: 72 kB / 419 MB, free: 14.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001326/0.3179, allocations: 103.8 kB / 419.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008294/0.3188, allocations: 0.4893 MB / 419.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3188, allocations: 0 / 419.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.3192, allocations: 365.9 kB / 419.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3196, allocations: 30.56 kB / 419.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3206, allocations: 0.6976 MB / 420.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3208, allocations: 0.7713 MB / 421.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.3209, allocations: 27.38 kB / 421.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3209, allocations: 0 / 421.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Templates: time 0.007029/0.3279, allocations: 5.84 MB / 427.3 MB, free: 6.383 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches