Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 89.06 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 157.9 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 177 MB / 204.1 MB, free: 9.121 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.61e-07/7.61e-07, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.853e-05, allocations: 9.312 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006221/0.00624, allocations: 4.59 MB / 329.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.01004, allocations: 2.028 MB / 331.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.01031, allocations: 16.56 kB / 331.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.01366, allocations: 1.375 MB / 333 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01481, allocations: 431.4 kB / 333.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.01717, allocations: 1.145 MB / 334.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000906/0.01808, allocations: 0.7755 MB / 335.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.01894, allocations: 0.5619 MB / 335.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.01957, allocations: 489.3 kB / 336.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.02004, allocations: 331 kB / 336.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.02014, allocations: 72.22 kB / 336.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.02097, allocations: 405.7 kB / 337.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.02113, allocations: 166.8 kB / 337.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.02142, allocations: 257.6 kB / 337.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.02299, allocations: 1.258 MB / 338.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.02299, allocations: 0 / 338.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02299, allocations: 0 / 338.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.023, allocations: 0 / 338.9 MB, free: 7.152 MB / 302.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.004556/0.02756, allocations: 1.416 MB / 340.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.02759, allocations: 11.98 kB / 340.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.03038, allocations: 360.1 kB / 340.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.03062, allocations: 208.7 kB / 340.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.0307, allocations: 66.38 kB / 340.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.03083, allocations: 84.38 kB / 341 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.03258, allocations: 0.8975 MB / 341.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.03261, allocations: 4.141 kB / 341.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.0327, allocations: 39.94 kB / 341.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.03271, allocations: 20 kB / 342 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.03468, allocations: 0.7925 MB / 342.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.03902, allocations: 2.315 MB / 345.1 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.04017, allocations: 0.5022 MB / 345.6 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.04072, allocations: 218.2 kB / 345.8 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.068e-05/0.04081, allocations: 20.48 kB / 345.8 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.04087, allocations: 43 kB / 345.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 1.934e-06/0.04087, allocations: 0 / 345.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.0078/0.04867, allocations: 2.171 MB / 348 MB, free: 13.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.04873, allocations: 81.61 kB / 348.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.04908, allocations: 323.9 kB / 348.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.04913, allocations: 37.7 kB / 348.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.04937, allocations: 375.8 kB / 348.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.04956, allocations: 218.1 kB / 349 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.04981, allocations: 150.5 kB / 349.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.04997, allocations: 346.8 kB / 349.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000809/0.05078, allocations: 269.8 kB / 349.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.0518, allocations: 0.5294 MB / 350.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.05365, allocations: 0.8049 MB / 351.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.05365, allocations: 0 / 351.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002241/0.05589, allocations: 0.905 MB / 352 MB, free: 9.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.05591, allocations: 8 kB / 352 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.05592, allocations: 8 kB / 352 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.05617, allocations: 73.59 kB / 352.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.05707, allocations: 199.7 kB / 352.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.05928, allocations: 2.608 MB / 354.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.05997, allocations: 64.03 kB / 355 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.06004, allocations: 47.92 kB / 355 MB, free: 6.254 MB / 318.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.0003186/0.06036, allocations: 209.6 kB / 355.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.06046, allocations: 43.75 kB / 355.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.06255, allocations: 0.7296 MB / 356 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.06256, allocations: 8 kB / 356 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.06256, allocations: 0 / 356 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.06257, allocations: 3.984 kB / 356 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.06528, allocations: 1.205 MB / 357.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.06528, allocations: 0 / 357.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/0.06599, allocations: 131.8 kB / 357.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.06618, allocations: 65.59 kB / 357.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.06622, allocations: 19.94 kB / 357.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.06834, allocations: 2.589 MB / 360 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.06835, allocations: 0 / 360 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.0711, allocations: 1.074 MB / 361.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.07131, allocations: 87.67 kB / 361.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.07138, allocations: 8 kB / 361.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.07191, allocations: 51.94 kB / 361.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.07204, allocations: 56.41 kB / 361.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.07209, allocations: 16 kB / 361.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.07233, allocations: 215.1 kB / 361.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07233, allocations: 0 / 361.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007378/0.07306, allocations: 179.9 kB / 361.7 MB, free: 15.28 MB / 334.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.0003093/0.07337, allocations: 167.2 kB / 361.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.07546, allocations: 0.8729 MB / 362.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.07546, allocations: 4.125 kB / 362.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.07653, allocations: 0.5195 MB / 363.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.07698, allocations: 44.59 kB / 363.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.07955, allocations: 1.141 MB / 364.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.07984, allocations: 282.8 kB / 364.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003497/0.08019, allocations: 88.42 kB / 364.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.08038, allocations: 60.47 kB / 364.9 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.08038, allocations: 0 / 364.9 MB, free: 12 MB / 334.1 MB Notification: Performance of Templates: time 0.01361/0.09398, allocations: 6.441 MB / 371.3 MB, free: 5.68 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.68147049844265]