Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001116/0.001116, allocations: 92.27 kB / 21.44 MB, free: 3.098 MB / 18.57 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.001381/0.001381, allocations: 154.1 kB / 24.7 MB, free: 9.434 MB / 18.57 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 0.8922/0.8922, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.392e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003932/0.003955, allocations: 4.57 MB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.00604, allocations: 2.016 MB / 332.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.006212, allocations: 16 kB / 332.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.007605, allocations: 1.38 MB / 333.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.008174, allocations: 423.6 kB / 334.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.009221, allocations: 1.136 MB / 335.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000546/0.009767, allocations: 0.766 MB / 336.1 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.01036, allocations: 0.5713 MB / 336.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.01075, allocations: 479 kB / 337.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.01103, allocations: 323.1 kB / 337.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.01109, allocations: 68 kB / 337.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.01152, allocations: 403.2 kB / 337.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.01161, allocations: 167.3 kB / 338.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.01177, allocations: 255.3 kB / 338.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.01287, allocations: 1.25 MB / 339.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01287, allocations: 0 / 339.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01288, allocations: 0 / 339.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.01289, allocations: 0 / 339.6 MB, free: 1.555 MB / 298.7 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.002376/0.01526, allocations: 1.402 MB / 341 MB, free: 120 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.0153, allocations: 15.92 kB / 341 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.01654, allocations: 364.1 kB / 341.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.01671, allocations: 193.6 kB / 341.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.01675, allocations: 62.38 kB / 341.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.01684, allocations: 80.38 kB / 341.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.01787, allocations: 0.9014 MB / 342.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.01789, allocations: 4.141 kB / 342.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.01794, allocations: 40.36 kB / 342.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.01795, allocations: 23.94 kB / 342.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.01896, allocations: 0.7808 MB / 343.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.02157, allocations: 2.319 MB / 345.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.02222, allocations: 0.506 MB / 346.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.02251, allocations: 222.2 kB / 346.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.02258, allocations: 20.48 kB / 346.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.02261, allocations: 43 kB / 346.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.02261, allocations: 3.938 kB / 346.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003919/0.02653, allocations: 2.163 MB / 348.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.02659, allocations: 89.55 kB / 348.8 MB, free: 8.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.02683, allocations: 307.9 kB / 349.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.02687, allocations: 37.7 kB / 349.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.02704, allocations: 371.9 kB / 349.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.02716, allocations: 222.1 kB / 349.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.02732, allocations: 146.6 kB / 349.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.02745, allocations: 346.8 kB / 350.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.02786, allocations: 269.8 kB / 350.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.02841, allocations: 0.5216 MB / 351 MB, free: 5.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/0.02938, allocations: 0.8088 MB / 351.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.02938, allocations: 4 kB / 351.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001184/0.03056, allocations: 0.8933 MB / 352.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.03059, allocations: 12 kB / 352.7 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.0306, allocations: 8 kB / 352.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.03079, allocations: 69.61 kB / 352.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.03121, allocations: 195.7 kB / 352.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.03272, allocations: 2.604 MB / 355.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.03302, allocations: 64.06 kB / 355.6 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.03306, allocations: 39.98 kB / 355.6 MB, free: 0.7188 MB / 314.7 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.0002412/0.0333, allocations: 217.5 kB / 355.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.03336, allocations: 43.66 kB / 355.9 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.03447, allocations: 0.7297 MB / 356.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.03447, allocations: 8 kB / 356.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.03448, allocations: 4 kB / 356.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.03448, allocations: 3.984 kB / 356.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.03603, allocations: 1.201 MB / 357.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.03604, allocations: 4 kB / 357.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.03634, allocations: 123.8 kB / 358 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.03654, allocations: 61.61 kB / 358 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.03656, allocations: 23.92 kB / 358.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.03799, allocations: 2.577 MB / 360.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.03799, allocations: 3.938 kB / 360.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.03939, allocations: 1.082 MB / 361.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.03952, allocations: 83.67 kB / 361.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.03955, allocations: 12 kB / 361.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.03976, allocations: 51.95 kB / 361.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.03985, allocations: 48.34 kB / 361.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.03988, allocations: 19.98 kB / 361.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.04001, allocations: 199.1 kB / 362.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04001, allocations: 0 / 362.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004689/0.04048, allocations: 187.9 kB / 362.3 MB, free: 9.754 MB / 330.7 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.0002398/0.04072, allocations: 151.1 kB / 362.5 MB, free: 9.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.04179, allocations: 0.872 MB / 363.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.04179, allocations: 0 / 363.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.04258, allocations: 0.5244 MB / 363.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.04292, allocations: 51.58 kB / 363.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.04441, allocations: 1.171 MB / 365.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.04458, allocations: 282.6 kB / 365.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.04472, allocations: 64.47 kB / 365.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04472, allocations: 0 / 365.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of Templates: time 0.01061/0.05533, allocations: 13.74 MB / 379.2 MB, free: 8.805 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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: 5.169987148605287]