Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, 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.333/1.333, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 110 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009214/0.0009214, allocations: 47.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2143, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.0031/0.2175, allocations: 2.884 MB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.2184, allocations: 0.7782 MB / 410.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2185, allocations: 15.47 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2187, allocations: 55.61 kB / 410.8 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.219, allocations: 79.42 kB / 410.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2192, allocations: 91.86 kB / 411 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.2195, allocations: 386.5 kB / 411.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2197, allocations: 107.6 kB / 411.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.2199, allocations: 155.4 kB / 411.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.2201, allocations: 167.2 kB / 411.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.2202, allocations: 24 kB / 411.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.2202, allocations: 24 kB / 411.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.2203, allocations: 67.69 kB / 411.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2204, allocations: 171.1 kB / 412 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.2206, allocations: 388.1 kB / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2207, allocations: 0 / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2207, allocations: 0 / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2207, allocations: 3.938 kB / 412.4 MB, free: 22.46 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.001074/0.2218, allocations: 0.6549 MB / 413.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2218, allocations: 8.594 kB / 413.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.2219, allocations: 40.47 kB / 413.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.2221, allocations: 279.5 kB / 413.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2221, allocations: 25.03 kB / 413.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2222, allocations: 32.38 kB / 413.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.2227, allocations: 290.4 kB / 413.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2227, allocations: 0 / 413.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2227, allocations: 12 kB / 413.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2227, allocations: 8 kB / 413.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.2233, allocations: 262.4 kB / 414 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.2246, allocations: 1.112 MB / 415.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.2249, allocations: 154.5 kB / 415.3 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2251, allocations: 68.81 kB / 415.3 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2251, allocations: 4 kB / 415.3 MB, free: 19.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.2252, allocations: 30.56 kB / 415.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/0.2252, allocations: 0 / 415.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001806/0.227, allocations: 0.6013 MB / 416 MB, free: 18.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.227, allocations: 55.41 kB / 416 MB, free: 18.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2272, allocations: 282.8 kB / 416.3 MB, free: 18.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2273, allocations: 37.7 kB / 416.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.2274, allocations: 235.5 kB / 416.6 MB, free: 18.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2274, allocations: 74.86 kB / 416.6 MB, free: 17.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.2275, allocations: 73.38 kB / 416.7 MB, free: 17.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2275, allocations: 330.8 kB / 417 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2278, allocations: 99.88 kB / 417.1 MB, free: 17.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.2281, allocations: 196 kB / 417.3 MB, free: 17.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.2286, allocations: 305.1 kB / 417.6 MB, free: 16.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2286, allocations: 11.94 kB / 417.6 MB, free: 16.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007102/0.2293, allocations: 393.3 kB / 418 MB, free: 16.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2294, allocations: 11.98 kB / 418 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2294, allocations: 4 kB / 418 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.2296, allocations: 61.62 kB / 418.1 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.2299, allocations: 71.89 kB / 418.2 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2312, allocations: 2.636 MB / 420.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.2314, allocations: 24.02 kB / 420.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2314, allocations: 19.98 kB / 420.8 MB, free: 13.39 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.000109/0.2316, allocations: 147.3 kB / 421 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.2316, allocations: 27.66 kB / 421 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.2317, allocations: 34.2 kB / 421 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2317, allocations: 4 kB / 421 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2317, allocations: 0 / 421 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2317, allocations: 0 / 421 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.232, allocations: 333.5 kB / 421.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.232, allocations: 4 kB / 421.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.2322, allocations: 43.91 kB / 421.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.2323, allocations: 61.61 kB / 421.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2323, allocations: 4 kB / 421.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.2334, allocations: 2.635 MB / 424.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2334, allocations: 0 / 424.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.2343, allocations: 1.034 MB / 425.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2344, allocations: 108.7 kB / 425.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2344, allocations: 3.984 kB / 425.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2346, allocations: 16.17 kB / 425.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2347, allocations: 23.91 kB / 425.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2347, allocations: 7.984 kB / 425.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2349, allocations: 201.9 kB / 425.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2349, allocations: 0 / 425.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004419/0.2353, allocations: 76 kB / 425.6 MB, free: 8.23 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 8.749e-05/0.2354, allocations: 105.8 kB / 425.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.2361, allocations: 481.1 kB / 426.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2362, allocations: 7.938 kB / 426.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.2366, allocations: 348.5 kB / 426.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.237, allocations: 35.67 kB / 426.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.2379, allocations: 0.8566 MB / 427.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.2381, allocations: 0.7792 MB / 428.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.2382, allocations: 30.22 kB / 428.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.2383, allocations: 23.44 kB / 428.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2383, allocations: 0 / 428.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of Templates: time 0.004942/0.2433, allocations: 2.692 MB / 430.9 MB, free: 2.82 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches