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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002572, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002461, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.832/0.832, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1315/0.9635, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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=500,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=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.089e-05, allocations: 5.828 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002507/0.002518, allocations: 2.879 MB / 242.6 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.003269, allocations: 0.7676 MB / 243.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003375, allocations: 6.5 kB / 243.4 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.003493, allocations: 63.42 kB / 243.5 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.003636, allocations: 111 kB / 243.6 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.003781, allocations: 105.2 kB / 243.7 MB, free: 2.434 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.004033, allocations: 398.4 kB / 244.1 MB, free: 2.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.004172, allocations: 94.77 kB / 244.1 MB, free: 1.949 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.004406, allocations: 276 kB / 244.4 MB, free: 1.68 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.004534, allocations: 132.7 kB / 244.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.004571, allocations: 32 kB / 244.6 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.341e-05/0.004604, allocations: 35.12 kB / 244.6 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.004644, allocations: 59.75 kB / 244.7 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.00471, allocations: 99.81 kB / 244.8 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.004919, allocations: 235.1 kB / 245 MB, free: 1.102 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.004929, allocations: 0 / 245 MB, free: 1.102 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004929, allocations: 3.938 kB / 245 MB, free: 1.098 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.004939, allocations: 0 / 245 MB, free: 1.098 MB / 234.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.0006376/0.005577, allocations: 0.6149 MB / 245.6 MB, free: 468 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.005605, allocations: 12.03 kB / 245.6 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.005662, allocations: 55.92 kB / 245.7 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.005848, allocations: 186.1 kB / 245.9 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.005873, allocations: 29.02 kB / 245.9 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.005908, allocations: 36.33 kB / 245.9 MB, free: 124 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.006144, allocations: 215.3 kB / 246.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.006154, allocations: 192 / 246.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.006169, allocations: 8.375 kB / 246.1 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.006178, allocations: 12.91 kB / 246.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.006281, allocations: 88.48 kB / 246.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.007052, allocations: 0.751 MB / 247 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.007166, allocations: 74.69 kB / 247.1 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.0072, allocations: 29.53 kB / 247.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.007219, allocations: 4 kB / 247.1 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.007237, allocations: 36.53 kB / 247.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.007238, allocations: 0 / 247.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006907/0.007929, allocations: 404.6 kB / 247.5 MB, free: 14.44 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.007951, allocations: 63.92 kB / 247.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.00808, allocations: 248.8 kB / 247.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.008094, allocations: 38.25 kB / 247.9 MB, free: 14.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.008167, allocations: 216.5 kB / 248.1 MB, free: 13.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.0082, allocations: 76.17 kB / 248.2 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.008257, allocations: 69.67 kB / 248.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.008329, allocations: 338.8 kB / 248.6 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.008367, allocations: 33.38 kB / 248.6 MB, free: 13.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.008443, allocations: 124.2 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.008583, allocations: 203.7 kB / 248.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008585, allocations: 0 / 248.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002166/0.008802, allocations: 232.5 kB / 249.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008814, allocations: 10.34 kB / 249.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.008819, allocations: 7.938 kB / 249.2 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.00905, allocations: 77.97 kB / 249.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.009194, allocations: 79.89 kB / 249.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.01025, allocations: 2.38 MB / 251.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01037, allocations: 19.98 kB / 251.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.01039, allocations: 12 kB / 251.7 MB, free: 9.922 MB / 250.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.0001006/0.01049, allocations: 133.7 kB / 251.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.01053, allocations: 23.98 kB / 251.9 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.01058, allocations: 26.27 kB / 251.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01058, allocations: 4 kB / 251.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01058, allocations: 0 / 251.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01059, allocations: 3.984 kB / 251.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01073, allocations: 157.7 kB / 252.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01073, allocations: 0 / 252.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.01082, allocations: 31.98 kB / 252.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.01084, allocations: 31.84 kB / 252.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.01102, allocations: 69.58 kB / 252.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.01103, allocations: 4 kB / 252.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008542/0.01189, allocations: 2.377 MB / 254.6 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01189, allocations: 4 kB / 254.6 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.01205, allocations: 241 kB / 254.8 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.01207, allocations: 4 kB / 254.8 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.01214, allocations: 8.062 kB / 254.8 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.01218, allocations: 23.95 kB / 254.9 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.01218, allocations: 4 kB / 254.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.01224, allocations: 90.75 kB / 254.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01224, allocations: 0 / 254.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01243, allocations: 76 kB / 255 MB, free: 6.395 MB / 250.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 6.777e-05/0.0125, allocations: 76.42 kB / 255.1 MB, free: 6.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.01279, allocations: 380.6 kB / 255.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.0128, allocations: 4 kB / 255.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.01296, allocations: 311.2 kB / 255.8 MB, free: 5.574 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.0132, allocations: 237.3 kB / 256 MB, free: 5.309 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.01464, allocations: 0.5537 MB / 256.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.01468, allocations: 88.62 kB / 256.6 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.01476, allocations: 30.95 kB / 256.7 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.01485, allocations: 87.36 kB / 256.8 MB, free: 4.508 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01485, allocations: 0 / 256.8 MB, free: 4.508 MB / 250.7 MB Notification: Performance of Templates: time 0.004863/0.01971, allocations: 3.322 MB / 260.1 MB, free: 1.258 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3292990438640118]