Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001385, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001182/0.001182, allocations: 187.1 kB / 18.67 MB, free: 4.441 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.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.00106, allocations: 43.94 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2325, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003802/0.2363, allocations: 2.838 MB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2376, allocations: 0.7439 MB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2377, allocations: 7.938 kB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.2379, allocations: 67.44 kB / 405.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.2382, allocations: 99.17 kB / 405.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.2385, allocations: 103.8 kB / 405.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.2388, allocations: 402.4 kB / 405.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.2391, allocations: 130.9 kB / 405.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2393, allocations: 155.4 kB / 405.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2395, allocations: 175.2 kB / 406.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.2395, allocations: 32 kB / 406.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.2396, allocations: 32 kB / 406.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.2397, allocations: 79.73 kB / 406.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2398, allocations: 175.1 kB / 406.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.2402, allocations: 407.6 kB / 406.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2402, allocations: 4 kB / 406.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.225e-06/0.2402, allocations: 0 / 406.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2402, allocations: 3.938 kB / 406.8 MB, free: 3.453 MB / 318.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.001156/0.2414, allocations: 0.65 MB / 407.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2414, allocations: 15.97 kB / 407.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.2415, allocations: 32.56 kB / 407.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.2418, allocations: 281.1 kB / 407.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.2419, allocations: 25.03 kB / 407.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.2419, allocations: 28.38 kB / 407.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.2425, allocations: 294.3 kB / 408.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2425, allocations: 4 kB / 408.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.2425, allocations: 16 kB / 408.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2425, allocations: 8 kB / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.2431, allocations: 250.5 kB / 408.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.2447, allocations: 1.116 MB / 409.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.2451, allocations: 150.5 kB / 409.7 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2453, allocations: 72.81 kB / 409.7 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2453, allocations: 4 kB / 409.7 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2454, allocations: 30.56 kB / 409.8 MB, free: 292 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.2454, allocations: 0 / 409.8 MB, free: 292 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001978/0.2474, allocations: 0.595 MB / 410.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2474, allocations: 55.41 kB / 410.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.2477, allocations: 286.5 kB / 410.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2477, allocations: 29.7 kB / 410.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2479, allocations: 227.5 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.2479, allocations: 74.84 kB / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/0.248, allocations: 65.7 kB / 411.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2481, allocations: 338.8 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.2484, allocations: 91.94 kB / 411.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.2488, allocations: 199.9 kB / 411.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.2493, allocations: 301.8 kB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2494, allocations: 7.938 kB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000806/0.2502, allocations: 400.8 kB / 412.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2502, allocations: 4.406 kB / 412.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2502, allocations: 8 kB / 412.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.2505, allocations: 61.61 kB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.2508, allocations: 75.89 kB / 412.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.2528, allocations: 2.837 MB / 415.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.2531, allocations: 24.05 kB / 415.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.2531, allocations: 16 kB / 415.4 MB, free: 10.19 MB / 334.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.0001586/0.2533, allocations: 153.7 kB / 415.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.2533, allocations: 27.62 kB / 415.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.2534, allocations: 30.17 kB / 415.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2534, allocations: 4 kB / 415.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2534, allocations: 0 / 415.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2534, allocations: 4 kB / 415.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.2538, allocations: 341.3 kB / 416 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2538, allocations: 0 / 416 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2541, allocations: 39.91 kB / 416 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.2542, allocations: 61.8 kB / 416.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2543, allocations: 4 kB / 416.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.256, allocations: 2.829 MB / 418.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.256, allocations: 0 / 418.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.2567, allocations: 387.1 kB / 419.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.2568, allocations: 96.77 kB / 419.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2569, allocations: 11.98 kB / 419.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2571, allocations: 15.98 kB / 419.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.2571, allocations: 15.97 kB / 419.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2572, allocations: 8 kB / 419.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2573, allocations: 198 kB / 419.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2573, allocations: 0 / 419.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.2577, allocations: 76 kB / 419.7 MB, free: 5.535 MB / 334.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.0001096/0.2579, allocations: 99.25 kB / 419.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008708/0.2587, allocations: 488.9 kB / 420.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2588, allocations: 0 / 420.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.2592, allocations: 342.1 kB / 420.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2596, allocations: 32.48 kB / 420.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2606, allocations: 0.5784 MB / 421.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2609, allocations: 0.7714 MB / 422 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.261, allocations: 23.44 kB / 422 MB, free: 3.098 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.261, allocations: 0 / 422 MB, free: 3.098 MB / 334.1 MB Notification: Performance of Templates: time 0.00807/0.2691, allocations: 6.069 MB / 428.1 MB, free: 13.04 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches