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.0007384/0.0007384, allocations: 95.14 kB / 18.01 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000842/0.0008423, allocations: 200.5 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002153, allocations: 4 kB / 308.4 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09278, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003007/0.09582, allocations: 2.493 MB / 362.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.09723, allocations: 0.7712 MB / 363.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.09747, allocations: 7.938 kB / 363.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.09769, allocations: 59.67 kB / 363.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.098, allocations: 79.44 kB / 363.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.09827, allocations: 83.86 kB / 363.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.09867, allocations: 378.5 kB / 363.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.09888, allocations: 107.6 kB / 363.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.09917, allocations: 139.4 kB / 364 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.09938, allocations: 147.3 kB / 364.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.09944, allocations: 20 kB / 364.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.09949, allocations: 16 kB / 364.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.09955, allocations: 63.75 kB / 364.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.09971, allocations: 184.8 kB / 364.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.09997, allocations: 291.4 kB / 364.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.09998, allocations: 0 / 364.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09998, allocations: 0 / 364.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1, allocations: 0 / 364.7 MB, free: 8.461 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.001068/0.1011, allocations: 0.5927 MB / 365.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1011, allocations: 12.03 kB / 365.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.1012, allocations: 36.47 kB / 365.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1015, allocations: 272.6 kB / 365.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.1016, allocations: 29.03 kB / 365.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.1016, allocations: 32.38 kB / 365.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.1023, allocations: 298.3 kB / 366 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1023, allocations: 3.938 kB / 366 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1023, allocations: 16 kB / 366 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1023, allocations: 8 kB / 366 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.103, allocations: 274.4 kB / 366.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.1047, allocations: 1.12 MB / 367.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1051, allocations: 170.5 kB / 367.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.1053, allocations: 68.83 kB / 367.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1053, allocations: 4 kB / 367.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1054, allocations: 42.48 kB / 367.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.1054, allocations: 0 / 367.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002174/0.1075, allocations: 0.6604 MB / 368.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1076, allocations: 51.41 kB / 368.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.1079, allocations: 278.4 kB / 368.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1079, allocations: 33.64 kB / 368.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.108, allocations: 235.4 kB / 368.9 MB, free: 4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.1081, allocations: 71 kB / 369 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1082, allocations: 33.7 kB / 369 MB, free: 3.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1083, allocations: 334.8 kB / 369.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.1086, allocations: 115.7 kB / 369.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.109, allocations: 196.2 kB / 369.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.1096, allocations: 327 kB / 370 MB, free: 2.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1096, allocations: 0 / 370 MB, free: 2.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008749/0.1105, allocations: 409 kB / 370.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1105, allocations: 12.25 kB / 370.4 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1106, allocations: 8 kB / 370.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.1108, allocations: 49.69 kB / 370.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.1111, allocations: 83.89 kB / 370.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1822/0.2934, allocations: 2.637 MB / 373.2 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.2938, allocations: 27.55 kB / 373.2 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2939, allocations: 19.02 kB / 373.2 MB, free: 17.9 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.000214/0.2941, allocations: 151.2 kB / 373.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.2942, allocations: 26.03 kB / 373.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.2943, allocations: 31.81 kB / 373.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2943, allocations: 8.953 kB / 373.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.2943, allocations: 2.75 kB / 373.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2943, allocations: 1.797 kB / 373.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.2948, allocations: 333.3 kB / 373.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2948, allocations: 0.7188 kB / 373.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.295, allocations: 46.8 kB / 373.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/0.2952, allocations: 52.7 kB / 373.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.2953, allocations: 5.594 kB / 373.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.2968, allocations: 2.634 MB / 376.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2968, allocations: 1.094 kB / 376.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.2976, allocations: 394.8 kB / 376.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.2977, allocations: 102.7 kB / 377 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.2977, allocations: 5.234 kB / 377 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2979, allocations: 22.09 kB / 377 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.298, allocations: 22.62 kB / 377 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.298, allocations: 7.828 kB / 377 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.2983, allocations: 186.6 kB / 377.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2983, allocations: 0 / 377.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.2987, allocations: 72.61 kB / 377.3 MB, free: 14.78 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.0001204/0.2989, allocations: 104.8 kB / 377.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2999, allocations: 0.4928 MB / 377.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2999, allocations: 0 / 377.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.3005, allocations: 359.6 kB / 378.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3009, allocations: 39.03 kB / 378.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3022, allocations: 0.7395 MB / 379 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3026, allocations: 0.7764 MB / 379.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/0.3027, allocations: 23.5 kB / 379.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3027, allocations: 1.406 kB / 379.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01054/0.3132, allocations: 5.896 MB / 385.7 MB, free: 12.1 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