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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007787/0.0007788, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.0008251/0.0008251, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.118/1.118, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002045/0.0002046, allocations: 7.938 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06937/0.06959, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002365/0.07197, allocations: 2.463 MB / 355 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.07297, allocations: 0.7438 MB / 355.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.07311, allocations: 4 kB / 355.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.07326, allocations: 47.67 kB / 355.7 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.07348, allocations: 79.44 kB / 355.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.0737, allocations: 95.8 kB / 355.9 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.07401, allocations: 370.5 kB / 356.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.07419, allocations: 111.6 kB / 356.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.07438, allocations: 127.4 kB / 356.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.07454, allocations: 155.2 kB / 356.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.07459, allocations: 19.94 kB / 356.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.07463, allocations: 20 kB / 356.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.07468, allocations: 55.77 kB / 356.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.07481, allocations: 188.8 kB / 356.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.07503, allocations: 291.4 kB / 357.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.07503, allocations: 0 / 357.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.07504, allocations: 0 / 357.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.07505, allocations: 0 / 357.2 MB, free: 14.93 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008652/0.07592, allocations: 0.5888 MB / 357.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.07595, allocations: 12.03 kB / 357.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.07602, allocations: 36.47 kB / 357.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.07627, allocations: 276.3 kB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.07631, allocations: 21.03 kB / 358.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.07635, allocations: 36.31 kB / 358.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.07688, allocations: 298.3 kB / 358.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.0769, allocations: 4 kB / 358.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.07693, allocations: 16 kB / 358.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.07694, allocations: 8 kB / 358.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.07751, allocations: 274.4 kB / 358.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.07893, allocations: 1.116 MB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.07926, allocations: 161.8 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.07944, allocations: 72.81 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.07947, allocations: 4 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.0795, allocations: 42.5 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.0795, allocations: 0 / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001867/0.08137, allocations: 0.6672 MB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.08141, allocations: 55.41 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.08164, allocations: 266.4 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.08167, allocations: 29.7 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.08178, allocations: 231.4 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.08183, allocations: 75 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.08188, allocations: 29.7 kB / 361.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.08198, allocations: 334.8 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.08225, allocations: 107.9 kB / 361.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.08257, allocations: 200.2 kB / 362.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.08314, allocations: 326.1 kB / 362.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.08315, allocations: 4 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007509/0.08391, allocations: 416.9 kB / 362.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.08393, allocations: 4.281 kB / 362.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.08395, allocations: 11.98 kB / 362.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.08414, allocations: 53.69 kB / 362.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.08444, allocations: 83.88 kB / 363 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.08599, allocations: 2.644 MB / 365.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.08623, allocations: 28.03 kB / 365.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.08627, allocations: 20 kB / 365.7 MB, free: 5.82 MB / 302.1 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 (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.0001194/0.08639, allocations: 149.7 kB / 365.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.08644, allocations: 27.66 kB / 365.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.0865, allocations: 30.17 kB / 365.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.08651, allocations: 4 kB / 365.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.08652, allocations: 0 / 365.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.08652, allocations: 0 / 365.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.08683, allocations: 329.5 kB / 366.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.08684, allocations: 0 / 366.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.08703, allocations: 47.89 kB / 366.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.08717, allocations: 57.62 kB / 366.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.08719, allocations: 8 kB / 366.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.08867, allocations: 2.635 MB / 369 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08868, allocations: 0 / 369 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.08933, allocations: 404.8 kB / 369.4 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.08939, allocations: 96.83 kB / 369.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.08942, allocations: 0 / 369.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.08961, allocations: 27.97 kB / 369.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.08967, allocations: 19.98 kB / 369.5 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.08969, allocations: 7.984 kB / 369.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.08984, allocations: 182 kB / 369.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08984, allocations: 0 / 369.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.09017, allocations: 72 kB / 369.8 MB, free: 1.383 MB / 302.1 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 (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 8.049e-05/0.09025, allocations: 107.1 kB / 369.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007812/0.09104, allocations: 0.497 MB / 370.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09106, allocations: 0 / 370.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.0915, allocations: 359.8 kB / 370.7 MB, free: 380 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.0918, allocations: 20.56 kB / 370.7 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1127/0.2045, allocations: 0.7358 MB / 371.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.2047, allocations: 0.7815 MB / 372.3 MB, free: 23.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.2048, allocations: 24.41 kB / 372.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2048, allocations: 0.6875 kB / 372.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006567/0.2113, allocations: 5.799 MB / 378.1 MB, free: 22.97 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches