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.001515/0.001515, allocations: 99.22 kB / 17.73 MB, free: 5.324 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.001749/0.00175, allocations: 192.2 kB / 18.67 MB, free: 4.395 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.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 43.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2335, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.0042/0.2378, allocations: 2.834 MB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2393, allocations: 0.7438 MB / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.2396, allocations: 11.94 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.2399, allocations: 63.44 kB / 405.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.2402, allocations: 107.2 kB / 405.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.2405, allocations: 99.81 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.241, allocations: 402.4 kB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.2412, allocations: 126.9 kB / 405.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.2415, allocations: 155.4 kB / 405.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.2417, allocations: 175.2 kB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.2419, allocations: 36 kB / 406.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.2419, allocations: 32 kB / 406.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.242, allocations: 75.75 kB / 406.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.2422, allocations: 179.1 kB / 406.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.2425, allocations: 403.7 kB / 406.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2426, allocations: 0 / 406.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2426, allocations: 0 / 406.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2426, allocations: 3.938 kB / 406.8 MB, free: 3.445 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.001162/0.2437, allocations: 0.6548 MB / 407.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2438, allocations: 8.031 kB / 407.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.2439, allocations: 36.56 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2443, allocations: 273.2 kB / 407.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2443, allocations: 32.97 kB / 407.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.2444, allocations: 28.38 kB / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.245, allocations: 302.3 kB / 408.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.245, allocations: 0 / 408.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.245, allocations: 16 kB / 408.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.245, allocations: 8 kB / 408.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.2456, allocations: 246.5 kB / 408.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.2474, allocations: 1.116 MB / 409.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.2478, allocations: 154.5 kB / 409.7 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.248, allocations: 67.8 kB / 409.7 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.248, allocations: 7.984 kB / 409.7 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2481, allocations: 30.56 kB / 409.8 MB, free: 280 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.2481, allocations: 0 / 409.8 MB, free: 280 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.002126/0.2502, allocations: 0.5928 MB / 410.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2502, allocations: 51.41 kB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.2505, allocations: 282.5 kB / 410.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2506, allocations: 33.7 kB / 410.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2507, allocations: 231.5 kB / 410.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.2508, allocations: 74.86 kB / 411 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.2509, allocations: 65.69 kB / 411.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.251, allocations: 334.8 kB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.2513, allocations: 95.88 kB / 411.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.2517, allocations: 196 kB / 411.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.2523, allocations: 309.8 kB / 412 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2523, allocations: 3.938 kB / 412 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008714/0.2532, allocations: 401.2 kB / 412.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2532, allocations: 8 kB / 412.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2532, allocations: 7.984 kB / 412.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.2535, allocations: 57.62 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.2538, allocations: 75.89 kB / 412.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.2559, allocations: 2.841 MB / 415.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.2562, allocations: 24.11 kB / 415.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.2562, allocations: 16 kB / 415.4 MB, free: 10.17 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.0001468/0.2564, allocations: 145.7 kB / 415.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.2565, allocations: 27.62 kB / 415.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.2565, allocations: 34.17 kB / 415.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2565, allocations: 4 kB / 415.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2566, allocations: 4 kB / 415.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2566, allocations: 3.984 kB / 415.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.2569, allocations: 337.4 kB / 416 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.257, allocations: 0 / 416 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.2572, allocations: 43.91 kB / 416 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.2573, allocations: 61.61 kB / 416.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2574, allocations: 8 kB / 416.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.2593, allocations: 2.825 MB / 418.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2593, allocations: 0 / 418.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.26, allocations: 378.9 kB / 419.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.2601, allocations: 100.8 kB / 419.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.2601, allocations: 4 kB / 419.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.2603, allocations: 19.97 kB / 419.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.2604, allocations: 11.98 kB / 419.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.2604, allocations: 11.98 kB / 419.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.2606, allocations: 194 kB / 419.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2607, allocations: 4 kB / 419.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.261, allocations: 72 kB / 419.7 MB, free: 5.527 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.0001082/0.2611, allocations: 111.2 kB / 419.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009253/0.2621, allocations: 481 kB / 420.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2621, allocations: 4 kB / 420.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.2626, allocations: 342.1 kB / 420.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.263, allocations: 44.42 kB / 420.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.264, allocations: 0.5776 MB / 421.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2643, allocations: 0.7713 MB / 422 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.2644, allocations: 23.44 kB / 422 MB, free: 3.074 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2644, allocations: 0 / 422 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Templates: time 0.007964/0.2724, allocations: 6.031 MB / 428 MB, free: 13.05 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