Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.25 kB / 306.9 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1012, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004187/0.1054, allocations: 2.859 MB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1068, allocations: 0.7867 MB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1069, allocations: 4 kB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1072, allocations: 63.61 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1074, allocations: 79.44 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1076, allocations: 83.92 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.1079, allocations: 374.5 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1081, allocations: 107.6 kB / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1084, allocations: 143.4 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1086, allocations: 171.2 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.1086, allocations: 20 kB / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.1087, allocations: 28 kB / 362.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.1087, allocations: 55.77 kB / 362.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1089, allocations: 175.1 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1092, allocations: 295.4 kB / 362.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1092, allocations: 0 / 362.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1092, allocations: 0 / 362.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1092, allocations: 4 kB / 362.6 MB, free: 9.277 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.001171/0.1104, allocations: 0.6354 MB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1104, allocations: 11.97 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.1105, allocations: 40.47 kB / 363.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.1108, allocations: 272.6 kB / 363.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.1109, allocations: 25.03 kB / 363.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.1109, allocations: 36.36 kB / 363.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.1115, allocations: 294.3 kB / 363.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1116, allocations: 0 / 363.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.1116, allocations: 12 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1116, allocations: 8 kB / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.1122, allocations: 250.5 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.114, allocations: 1.116 MB / 365.3 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.1144, allocations: 154.5 kB / 365.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1146, allocations: 68.83 kB / 365.5 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1147, allocations: 7.906 kB / 365.6 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1147, allocations: 34.55 kB / 365.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.1147, allocations: 0 / 365.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002043/0.1168, allocations: 0.5974 MB / 366.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1168, allocations: 55.41 kB / 366.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1171, allocations: 270.5 kB / 366.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1171, allocations: 29.7 kB / 366.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1173, allocations: 223.5 kB / 366.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.1174, allocations: 82.91 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1175, allocations: 65.61 kB / 366.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1176, allocations: 330.8 kB / 367.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.1179, allocations: 103.6 kB / 367.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1183, allocations: 200.1 kB / 367.5 MB, free: 4.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.1189, allocations: 295 kB / 367.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1189, allocations: 4 kB / 367.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008437/0.1197, allocations: 389.3 kB / 368.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1198, allocations: 12 kB / 368.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1198, allocations: 4 kB / 368.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.12, allocations: 57.61 kB / 368.3 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.1204, allocations: 75.83 kB / 368.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.1223, allocations: 2.633 MB / 371 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1226, allocations: 23.98 kB / 371 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.1226, allocations: 12 kB / 371 MB, free: 288 kB / 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.0001529/0.1228, allocations: 161.7 kB / 371.2 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1229, allocations: 31.56 kB / 371.2 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.1229, allocations: 30.17 kB / 371.2 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1229, allocations: 4 kB / 371.2 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1229, allocations: 0 / 371.2 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.123, allocations: 3.984 kB / 371.2 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.16/0.2829, allocations: 322.9 kB / 371.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.283, allocations: 0.875 kB / 371.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.2833, allocations: 36.97 kB / 371.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.2835, allocations: 59.5 kB / 371.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2835, allocations: 5.625 kB / 371.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.2849, allocations: 2.624 MB / 374.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2849, allocations: 4.5 kB / 374.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.2857, allocations: 379.7 kB / 374.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.2858, allocations: 97.31 kB / 374.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.2858, allocations: 7.375 kB / 374.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.286, allocations: 16.31 kB / 374.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.2861, allocations: 18.69 kB / 374.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.2861, allocations: 7.969 kB / 374.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.2863, allocations: 190.7 kB / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2863, allocations: 0 / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.2868, allocations: 72.47 kB / 375 MB, free: 17.21 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.0001029/0.2869, allocations: 100.4 kB / 375.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.2878, allocations: 489.2 kB / 375.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2878, allocations: 1.531 kB / 375.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.2882, allocations: 347.4 kB / 376 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2886, allocations: 26.95 kB / 376 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.2897, allocations: 0.7101 MB / 376.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.29, allocations: 0.7741 MB / 377.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.2901, allocations: 23.33 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2901, allocations: 0 / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Templates: time 0.008597/0.2987, allocations: 5.955 MB / 383.4 MB, free: 14.64 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches