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.001059/0.001058, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001016/0.001016, allocations: 183 kB / 18.62 MB, free: 4.5 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.291/1.291, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00096/0.00096, allocations: 43.44 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08671, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003962/0.09071, allocations: 2.784 MB / 354.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.09188, allocations: 0.7515 MB / 355.1 MB, free: 124 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.09201, allocations: 4 kB / 355.1 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.09223, allocations: 63.42 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.09249, allocations: 99.28 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.09275, allocations: 99.89 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.09311, allocations: 398.2 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.09332, allocations: 130.9 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.09354, allocations: 151.4 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.09374, allocations: 167.2 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.09379, allocations: 32 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.09384, allocations: 36 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.09391, allocations: 75.69 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.09407, allocations: 179.1 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.09442, allocations: 394.5 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09443, allocations: 4 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09444, allocations: 0 / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.09445, allocations: 0 / 356.8 MB, free: 14.32 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.001096/0.09555, allocations: 0.6392 MB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.0956, allocations: 8.031 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.09567, allocations: 36.56 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.09602, allocations: 272 kB / 357.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.09606, allocations: 25.03 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.09612, allocations: 32.38 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.0967, allocations: 294.3 kB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.09672, allocations: 4 kB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.09676, allocations: 12 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.09677, allocations: 8 kB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.09736, allocations: 250.5 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.09897, allocations: 1.112 MB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.09935, allocations: 158.5 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.09954, allocations: 64.83 kB / 359.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.09958, allocations: 4 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.09961, allocations: 30.56 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.09961, allocations: 0 / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001953/0.1016, allocations: 0.5951 MB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.1016, allocations: 51.41 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1019, allocations: 266.4 kB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1019, allocations: 33.7 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.102, allocations: 215.5 kB / 360.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.1021, allocations: 82.91 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.1022, allocations: 65.61 kB / 361.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1023, allocations: 334.8 kB / 361.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.1026, allocations: 95.94 kB / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.1029, allocations: 203.7 kB / 361.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.1035, allocations: 295 kB / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1035, allocations: 4 kB / 362 MB, free: 8.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008269/0.1044, allocations: 401.2 kB / 362.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1044, allocations: 14.66 kB / 362.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1044, allocations: 4 kB / 362.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.1047, allocations: 53.62 kB / 362.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.105, allocations: 71.89 kB / 362.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.1069, allocations: 2.841 MB / 365.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1072, allocations: 28.05 kB / 365.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.1072, allocations: 15.94 kB / 365.4 MB, free: 5.113 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.000149/0.1074, allocations: 157.7 kB / 365.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.1074, allocations: 23.72 kB / 365.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.1075, allocations: 30.17 kB / 365.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1075, allocations: 4 kB / 365.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1075, allocations: 0 / 365.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1075, allocations: 7.984 kB / 365.6 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1079, allocations: 329.4 kB / 365.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1079, allocations: 0 / 365.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.1081, allocations: 43.91 kB / 366 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.1083, allocations: 57.67 kB / 366 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1083, allocations: 4 kB / 366 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.1101, allocations: 2.825 MB / 368.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1102, allocations: 4.062 kB / 368.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.1109, allocations: 371.7 kB / 369.2 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.1109, allocations: 104.8 kB / 369.3 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.111, allocations: 4 kB / 369.3 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1112, allocations: 23.97 kB / 369.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1113, allocations: 19.97 kB / 369.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1113, allocations: 4 kB / 369.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1115, allocations: 186 kB / 369.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1115, allocations: 0 / 369.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.1118, allocations: 68 kB / 369.6 MB, free: 0.4961 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 0.0001093/0.112, allocations: 111.2 kB / 369.7 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1437/0.2557, allocations: 476.9 kB / 370.2 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2557, allocations: 0.5312 kB / 370.2 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.2563, allocations: 343 kB / 370.5 MB, free: 25.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.2568, allocations: 26.42 kB / 370.6 MB, free: 25.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2579, allocations: 0.5393 MB / 371.1 MB, free: 24.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.2582, allocations: 0.7713 MB / 371.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2583, allocations: 32.2 kB / 371.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.2584, allocations: 24.45 kB / 371.9 MB, free: 24.28 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2584, allocations: 0 / 371.9 MB, free: 24.28 MB / 302.1 MB Notification: Performance of Templates: time 0.006886/0.2653, allocations: 2.682 MB / 374.6 MB, free: 24.22 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 -s gbode -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