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.001068/0.001068, allocations: 112 kB / 17.06 MB, free: 6 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.001099/0.001099, allocations: 192 kB / 18 MB, free: 5.082 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 14.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009011/0.0009011, allocations: 55.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2687, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003978/0.2727, allocations: 2.83 MB / 403.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2738, allocations: 0.7439 MB / 404.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.274, allocations: 4 kB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2742, allocations: 67.38 kB / 404.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.2745, allocations: 99.17 kB / 404.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.2748, allocations: 111.8 kB / 404.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.2751, allocations: 398.4 kB / 405 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.2754, allocations: 134.9 kB / 405.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.2756, allocations: 155.4 kB / 405.3 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2759, allocations: 179.2 kB / 405.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.2759, allocations: 32 kB / 405.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.276, allocations: 36 kB / 405.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2761, allocations: 67.77 kB / 405.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2762, allocations: 179.1 kB / 405.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.2766, allocations: 407.5 kB / 406.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2766, allocations: 0 / 406.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2766, allocations: 4 kB / 406.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2766, allocations: 7.938 kB / 406.1 MB, free: 3.438 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.001183/0.2778, allocations: 0.6422 MB / 406.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2779, allocations: 16.03 kB / 406.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.2779, allocations: 32.56 kB / 406.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2783, allocations: 276.5 kB / 407.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.2784, allocations: 25.03 kB / 407.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.2784, allocations: 28.38 kB / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.279, allocations: 294.3 kB / 407.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2791, allocations: 3.938 kB / 407.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.2791, allocations: 16 kB / 407.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.2791, allocations: 12 kB / 407.5 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.2797, allocations: 250.5 kB / 407.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.2814, allocations: 1.108 MB / 408.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.2818, allocations: 154.5 kB / 409 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.282, allocations: 76.8 kB / 409.1 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.282, allocations: 4 kB / 409.1 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.282, allocations: 34.56 kB / 409.1 MB, free: 280 kB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.282, allocations: 0 / 409.1 MB, free: 280 kB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001975/0.284, allocations: 0.5913 MB / 409.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2841, allocations: 55.41 kB / 409.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2844, allocations: 286.5 kB / 410 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2844, allocations: 29.7 kB / 410 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2846, allocations: 227.5 kB / 410.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.2846, allocations: 78.84 kB / 410.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.2847, allocations: 57.7 kB / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2848, allocations: 342.8 kB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.2851, allocations: 95.92 kB / 410.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.2855, allocations: 199.9 kB / 411 MB, free: 14.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.2861, allocations: 305.8 kB / 411.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2861, allocations: 3.938 kB / 411.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000846/0.2869, allocations: 396.8 kB / 411.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.287, allocations: 4 kB / 411.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.287, allocations: 4 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.2872, allocations: 62.08 kB / 411.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.2876, allocations: 79.83 kB / 411.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.2897, allocations: 2.837 MB / 414.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.29, allocations: 19.98 kB / 414.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.29, allocations: 20.05 kB / 414.7 MB, free: 10.18 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.0001579/0.2902, allocations: 153.7 kB / 414.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.2902, allocations: 27.62 kB / 414.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.2903, allocations: 30.17 kB / 414.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2903, allocations: 4 kB / 415 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2903, allocations: 0 / 415 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2903, allocations: 0 / 415 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.2907, allocations: 341.4 kB / 415.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2907, allocations: 4 kB / 415.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.2909, allocations: 39.91 kB / 415.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/0.2911, allocations: 53.67 kB / 415.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2911, allocations: 8 kB / 415.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.293, allocations: 2.829 MB / 418.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.293, allocations: 12 kB / 418.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.2937, allocations: 374.7 kB / 418.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.2937, allocations: 104.8 kB / 418.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.2938, allocations: 8 kB / 418.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.294, allocations: 15.98 kB / 418.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.2941, allocations: 15.97 kB / 418.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.2941, allocations: 8 kB / 418.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.2943, allocations: 198 kB / 418.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 0 / 418.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.2948, allocations: 72 kB / 419 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.0001859/0.295, allocations: 107.2 kB / 419.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.296, allocations: 488.9 kB / 419.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.296, allocations: 0 / 419.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.2966, allocations: 340.3 kB / 419.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2969, allocations: 37.3 kB / 420 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.298, allocations: 0.5455 MB / 420.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.2984, allocations: 0.7714 MB / 421.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.2985, allocations: 30.28 kB / 421.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.2986, allocations: 19.44 kB / 421.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2986, allocations: 0 / 421.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of Templates: time 0.00642/0.305, allocations: 2.819 MB / 424.1 MB, free: 324 kB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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