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.00132/0.00132, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.001387/0.001387, allocations: 162.1 kB / 23.95 MB, free: 4.141 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.45/1.45, allocations: 177 MB / 204.1 MB, free: 9.152 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.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 2.204e-06/2.204e-06, allocations: 1.312 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.319e-05, allocations: 5.516 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006292/0.006315, allocations: 4.564 MB / 329.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.01021, allocations: 2.016 MB / 331.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.0105, allocations: 20.44 kB / 331.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.01382, allocations: 1.378 MB / 333 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.01495, allocations: 427.3 kB / 333.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.01734, allocations: 1.143 MB / 334.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009253/0.01826, allocations: 0.7597 MB / 335.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.01916, allocations: 0.569 MB / 335.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.01979, allocations: 475.8 kB / 336.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.02025, allocations: 331 kB / 336.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-05/0.02035, allocations: 66.22 kB / 336.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.02117, allocations: 400.3 kB / 337.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.02132, allocations: 166.5 kB / 337.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.02162, allocations: 257.9 kB / 337.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.0232, allocations: 1.25 MB / 338.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.0232, allocations: 4 kB / 338.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0232, allocations: 0 / 338.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.02321, allocations: 4 kB / 338.8 MB, free: 7.246 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.004557/0.02777, allocations: 1.394 MB / 340.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.02781, allocations: 15.98 kB / 340.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.03061, allocations: 372 kB / 340.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.03083, allocations: 197.6 kB / 340.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.0309, allocations: 62.38 kB / 340.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.03104, allocations: 80.38 kB / 340.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.03281, allocations: 0.8897 MB / 341.8 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.03284, allocations: 16.06 kB / 341.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.03292, allocations: 36.38 kB / 341.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.03294, allocations: 23.94 kB / 341.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.03493, allocations: 0.7808 MB / 342.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.03922, allocations: 2.311 MB / 345 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.04038, allocations: 0.51 MB / 345.5 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.04094, allocations: 214.2 kB / 345.7 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/0.04103, allocations: 28.47 kB / 345.7 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.04108, allocations: 47 kB / 345.8 MB, free: 80 kB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/0.04108, allocations: 0 / 345.8 MB, free: 80 kB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007716/0.04879, allocations: 2.156 MB / 347.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.04886, allocations: 85.61 kB / 348 MB, free: 13.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.0492, allocations: 315.8 kB / 348.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.04925, allocations: 33.7 kB / 348.3 MB, free: 13.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.0495, allocations: 375.9 kB / 348.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.04968, allocations: 214.1 kB / 348.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.04994, allocations: 150.5 kB / 349.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.05011, allocations: 346.8 kB / 349.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.05091, allocations: 261.8 kB / 349.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.05194, allocations: 0.5294 MB / 350.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.05383, allocations: 0.8088 MB / 351 MB, free: 10.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.05383, allocations: 0 / 351 MB, free: 10.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002265/0.0561, allocations: 0.8965 MB / 351.9 MB, free: 9.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.05612, allocations: 8.656 kB / 351.9 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.05613, allocations: 8 kB / 351.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.05637, allocations: 73.61 kB / 352 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.05727, allocations: 195.7 kB / 352.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.0595, allocations: 2.608 MB / 354.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.06017, allocations: 55.95 kB / 354.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.06023, allocations: 40.11 kB / 354.9 MB, free: 6.426 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.0003229/0.06056, allocations: 221.5 kB / 355.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.06066, allocations: 47.72 kB / 355.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.06276, allocations: 0.7295 MB / 355.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.06277, allocations: 8 kB / 355.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.06277, allocations: 0 / 355.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.06278, allocations: 0 / 355.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.06548, allocations: 1.212 MB / 357.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.06549, allocations: 0 / 357.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/0.06619, allocations: 127.8 kB / 357.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.06637, allocations: 65.61 kB / 357.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.06642, allocations: 15.94 kB / 357.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.06857, allocations: 2.581 MB / 359.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.06858, allocations: 7.875 kB / 359.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.07134, allocations: 1.066 MB / 360.9 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.07156, allocations: 91.67 kB / 361 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.07163, allocations: 12 kB / 361.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.07215, allocations: 48 kB / 361.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.07226, allocations: 52.34 kB / 361.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.07231, allocations: 20 kB / 361.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.07253, allocations: 199.1 kB / 361.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07253, allocations: 0 / 361.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000746/0.07327, allocations: 179.9 kB / 361.5 MB, free: 15.46 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.0003021/0.07358, allocations: 159.3 kB / 361.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.07568, allocations: 0.8768 MB / 362.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.07568, allocations: 0 / 362.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.07675, allocations: 0.5273 MB / 363.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.07719, allocations: 46.48 kB / 363.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.07976, allocations: 1.137 MB / 364.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.08005, allocations: 282.6 kB / 364.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003568/0.08041, allocations: 88.45 kB / 364.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.08059, allocations: 56.41 kB / 364.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.08059, allocations: 0 / 364.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Templates: time 0.01356/0.09416, allocations: 6.357 MB / 371.1 MB, free: 5.945 MB / 334.1 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: 4.529670111835003]