Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 43.92 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.246, allocations: 53.37 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006789/0.2528, allocations: 5.138 MB / 437.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.2564, allocations: 2.195 MB / 439.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.2566, allocations: 16 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.2597, allocations: 1.416 MB / 441.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.2608, allocations: 433.3 kB / 441.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.2631, allocations: 1.206 MB / 442.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000908/0.264, allocations: 0.7433 MB / 443.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.2648, allocations: 0.5768 MB / 444.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.2653, allocations: 346.8 kB / 444.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.2658, allocations: 446.2 kB / 444.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.2659, allocations: 68 kB / 445 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.2668, allocations: 411.7 kB / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2669, allocations: 159.4 kB / 445.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.2672, allocations: 382.1 kB / 445.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.2687, allocations: 1.222 MB / 447.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2687, allocations: 0 / 447.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2687, allocations: 0 / 447.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2687, allocations: 0 / 447.1 MB, free: 8.152 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004255/0.273, allocations: 1.421 MB / 448.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.273, allocations: 12.03 kB / 448.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.2755, allocations: 364.1 kB / 448.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2758, allocations: 201.5 kB / 449.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.2759, allocations: 70.38 kB / 449.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.276, allocations: 80.38 kB / 449.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.2777, allocations: 0.8757 MB / 450.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.2777, allocations: 3.953 kB / 450.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.2778, allocations: 32 kB / 450.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.2778, allocations: 20 kB / 450.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.2796, allocations: 0.8003 MB / 451 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.2841, allocations: 2.775 MB / 453.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2852, allocations: 0.5036 MB / 454.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.2857, allocations: 222.2 kB / 454.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.2858, allocations: 28.45 kB / 454.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2859, allocations: 43.06 kB / 454.5 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.365e-06/0.2859, allocations: 3.938 kB / 454.6 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007017/0.2929, allocations: 2.167 MB / 456.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.293, allocations: 81.61 kB / 456.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.2933, allocations: 320.3 kB / 457.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.2934, allocations: 41.64 kB / 457.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.2936, allocations: 375.9 kB / 457.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.2938, allocations: 218.1 kB / 457.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.294, allocations: 146.6 kB / 457.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2942, allocations: 358.7 kB / 458.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.2949, allocations: 261.8 kB / 458.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/0.2958, allocations: 0.5082 MB / 459 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.2975, allocations: 0.8127 MB / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2975, allocations: 0 / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002002/0.2995, allocations: 0.8969 MB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2995, allocations: 11.94 kB / 460.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2996, allocations: 11.94 kB / 460.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.2998, allocations: 77.97 kB / 460.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.3007, allocations: 191.7 kB / 461 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.3029, allocations: 2.669 MB / 463.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.3035, allocations: 60.02 kB / 463.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3035, allocations: 35.98 kB / 463.7 MB, free: 6.711 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002991/0.3038, allocations: 213.6 kB / 464 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.3039, allocations: 47.66 kB / 464 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.3058, allocations: 0.7259 MB / 464.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3058, allocations: 11.94 kB / 464.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3058, allocations: 0 / 464.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3058, allocations: 7.922 kB / 464.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.3085, allocations: 1.383 MB / 466.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3085, allocations: 4 kB / 466.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/0.3091, allocations: 131.8 kB / 466.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.3093, allocations: 61.61 kB / 466.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.3093, allocations: 19.98 kB / 466.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.3115, allocations: 2.638 MB / 469 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3115, allocations: 0 / 469 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.3139, allocations: 1.082 MB / 470.1 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.3141, allocations: 91.88 kB / 470.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.3142, allocations: 12 kB / 470.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.3146, allocations: 43.95 kB / 470.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3148, allocations: 60.39 kB / 470.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.3148, allocations: 19.98 kB / 470.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.315, allocations: 219.1 kB / 470.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.315, allocations: 0 / 470.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006715/0.3157, allocations: 172 kB / 470.7 MB, free: 15.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.0002672/0.316, allocations: 167 kB / 470.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.3179, allocations: 0.8846 MB / 471.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3179, allocations: 0 / 471.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009702/0.3189, allocations: 0.5196 MB / 472.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3193, allocations: 41.03 kB / 472.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.3219, allocations: 1.246 MB / 473.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.3224, allocations: 0.8849 MB / 474.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.3227, allocations: 63.41 kB / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3227, allocations: 0 / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Templates: time 0.0171/0.3398, allocations: 13.63 MB / 488.1 MB, free: 13.92 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.472181568155065]