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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009495/0.0009495, allocations: 100.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008998/0.0008999, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2154, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003576/0.2191, allocations: 2.854 MB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2207, allocations: 0.771 MB / 410.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.2209, allocations: 4 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.2212, allocations: 49.72 kB / 410.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.2215, allocations: 83.44 kB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2218, allocations: 86.38 kB / 410.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.2222, allocations: 382.5 kB / 411.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.2224, allocations: 111.6 kB / 411.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.2227, allocations: 151.4 kB / 411.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.2229, allocations: 167.2 kB / 411.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2229, allocations: 20 kB / 411.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.223, allocations: 24 kB / 411.7 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.223, allocations: 63.75 kB / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2232, allocations: 159.1 kB / 412 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.2235, allocations: 384.1 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.2235, allocations: 3.938 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2235, allocations: 0 / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2235, allocations: 0 / 412.3 MB, free: 22.5 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.001122/0.2246, allocations: 0.647 MB / 413 MB, free: 21.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.2247, allocations: 8.594 kB / 413 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.2248, allocations: 40.47 kB / 413 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.2251, allocations: 276.5 kB / 413.3 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.2251, allocations: 25.02 kB / 413.3 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.2252, allocations: 32.38 kB / 413.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.2257, allocations: 286.4 kB / 413.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2257, allocations: 4 kB / 413.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2258, allocations: 16 kB / 413.7 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2258, allocations: 8 kB / 413.7 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.2264, allocations: 246.5 kB / 413.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.2278, allocations: 1.128 MB / 415 MB, free: 19.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.2282, allocations: 158.5 kB / 415.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2284, allocations: 72.81 kB / 415.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.2284, allocations: 4 kB / 415.3 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2285, allocations: 34.56 kB / 415.3 MB, free: 19.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2285, allocations: 0 / 415.3 MB, free: 19.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001848/0.2303, allocations: 0.5974 MB / 415.9 MB, free: 18.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.2304, allocations: 51.41 kB / 415.9 MB, free: 18.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.2306, allocations: 274.5 kB / 416.2 MB, free: 18.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2306, allocations: 25.7 kB / 416.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.2307, allocations: 231.5 kB / 416.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.2307, allocations: 70.92 kB / 416.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2308, allocations: 61.69 kB / 416.6 MB, free: 17.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.2309, allocations: 342.8 kB / 416.9 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.2311, allocations: 91.94 kB / 417 MB, free: 17.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.2314, allocations: 195.9 kB / 417.2 MB, free: 17.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.2319, allocations: 301.1 kB / 417.5 MB, free: 16.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2319, allocations: 0 / 417.5 MB, free: 16.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007095/0.2327, allocations: 396.8 kB / 417.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2327, allocations: 4 kB / 417.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2327, allocations: 4.406 kB / 417.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.2329, allocations: 61.67 kB / 418 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2332, allocations: 79.83 kB / 418 MB, free: 16.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.2345, allocations: 2.635 MB / 420.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2348, allocations: 19.98 kB / 420.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2348, allocations: 16 kB / 420.7 MB, free: 13.48 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 (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.0001149/0.2349, allocations: 147.2 kB / 420.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.235, allocations: 39.61 kB / 420.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.235, allocations: 30.19 kB / 420.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2351, allocations: 0 / 420.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2351, allocations: 4 kB / 420.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2351, allocations: 11.92 kB / 420.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2353, allocations: 325.5 kB / 421.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2353, allocations: 0 / 421.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.2355, allocations: 43.91 kB / 421.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.2357, allocations: 65.55 kB / 421.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2357, allocations: 0 / 421.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.2368, allocations: 2.628 MB / 424 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2368, allocations: 8.047 kB / 424 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.2378, allocations: 1.041 MB / 425 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.2378, allocations: 96.83 kB / 425.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.2378, allocations: 4 kB / 425.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2381, allocations: 19.97 kB / 425.2 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.2381, allocations: 19.92 kB / 425.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2382, allocations: 7.984 kB / 425.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.2383, allocations: 190 kB / 425.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2383, allocations: 0 / 425.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004463/0.2387, allocations: 72 kB / 425.4 MB, free: 8.344 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 (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.0001046/0.2389, allocations: 103.2 kB / 425.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007666/0.2396, allocations: 477 kB / 426 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2396, allocations: 0 / 426 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.24, allocations: 352.6 kB / 426.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2404, allocations: 20.56 kB / 426.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.2414, allocations: 0.8528 MB / 427.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.2415, allocations: 0.7792 MB / 428 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.2417, allocations: 30.27 kB / 428 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2417, allocations: 19.44 kB / 428 MB, free: 5.613 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2417, allocations: 0 / 428 MB, free: 5.613 MB / 298.7 MB Notification: Performance of Templates: time 0.004912/0.2467, allocations: 2.626 MB / 430.7 MB, free: 2.996 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches