Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001762/0.001762, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002311/0.002311, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.564/1.564, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.ToroidalCoreAirgap,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.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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.94 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007097/0.12, allocations: 5.079 MB / 432.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004162/0.1241, allocations: 2.176 MB / 434.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.1245, allocations: 16 kB / 434.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.1279, allocations: 1.408 MB / 436.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.1292, allocations: 433.3 kB / 436.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.1317, allocations: 1.218 MB / 437.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1328, allocations: 0.7394 MB / 438.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008722/0.1337, allocations: 0.5012 MB / 439.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.1342, allocations: 342.8 kB / 439.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.1347, allocations: 430.3 kB / 439.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1348, allocations: 68 kB / 439.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009491/0.1358, allocations: 407.6 kB / 440.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1359, allocations: 163.4 kB / 440.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.1363, allocations: 382.1 kB / 440.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.1378, allocations: 1.207 MB / 442 MB, free: 5.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1378, allocations: 0 / 442 MB, free: 5.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1378, allocations: 0 / 442 MB, free: 5.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1379, allocations: 0 / 442 MB, free: 5.684 MB / 366.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.004675/0.1425, allocations: 1.477 MB / 443.5 MB, free: 4.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1426, allocations: 12.03 kB / 443.5 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/0.1453, allocations: 368.1 kB / 443.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1456, allocations: 260.1 kB / 444.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.1456, allocations: 62.38 kB / 444.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.1458, allocations: 84.38 kB / 444.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.1475, allocations: 0.8683 MB / 445.1 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.1475, allocations: 7.938 kB / 445.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.244e-05/0.1476, allocations: 35.94 kB / 445.2 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.1476, allocations: 20 kB / 445.2 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.1494, allocations: 0.7964 MB / 446 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2065/0.3559, allocations: 3.009 MB / 449 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.3571, allocations: 0.9597 MB / 450 MB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.3575, allocations: 216.2 kB / 450.2 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3577, allocations: 185.7 kB / 450.4 MB, free: 21.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3577, allocations: 38.62 kB / 450.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.3577, allocations: 0 / 450.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007434/0.3651, allocations: 2.395 MB / 452.8 MB, free: 20.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3652, allocations: 85.22 kB / 452.9 MB, free: 20.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.3656, allocations: 302.6 kB / 453.2 MB, free: 20.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3656, allocations: 40.69 kB / 453.2 MB, free: 20.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3658, allocations: 372.1 kB / 453.6 MB, free: 20.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.3659, allocations: 228.8 kB / 453.8 MB, free: 20.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.3662, allocations: 145.8 kB / 453.9 MB, free: 20.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.3662, allocations: 351.7 kB / 454.3 MB, free: 19.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.367, allocations: 271.8 kB / 454.5 MB, free: 19.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008905/0.3679, allocations: 0.4995 MB / 455 MB, free: 19.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.3696, allocations: 0.8036 MB / 455.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.3696, allocations: 3.125 kB / 455.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002232/0.3718, allocations: 0.8875 MB / 456.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.3719, allocations: 13.12 kB / 456.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/0.3719, allocations: 12.03 kB / 456.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.3722, allocations: 67.42 kB / 456.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.3731, allocations: 199.9 kB / 457 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.3748, allocations: 2.863 MB / 459.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.3755, allocations: 65.27 kB / 459.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/0.3756, allocations: 40.28 kB / 460 MB, free: 15.62 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.0002975/0.3759, allocations: 208 kB / 460.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.376, allocations: 44.31 kB / 460.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.3779, allocations: 0.7303 MB / 461 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3779, allocations: 6.938 kB / 461 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3779, allocations: 1.25 kB / 461 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3779, allocations: 11.02 kB / 461 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.3806, allocations: 1.408 MB / 462.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3806, allocations: 4.438 kB / 462.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/0.3813, allocations: 127.4 kB / 462.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.3815, allocations: 67.61 kB / 462.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.3815, allocations: 15.73 kB / 462.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.3829, allocations: 2.845 MB / 465.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3829, allocations: 3.938 kB / 465.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.3854, allocations: 1.08 MB / 466.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.3856, allocations: 158.8 kB / 466.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.3856, allocations: 20.75 kB / 466.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.3861, allocations: 43.69 kB / 466.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3863, allocations: 51.59 kB / 466.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.3863, allocations: 18.88 kB / 466.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3865, allocations: 204.8 kB / 467 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 1.312 kB / 467 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007954/0.3873, allocations: 181.4 kB / 467.2 MB, free: 10.67 MB / 366.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.0002388/0.3875, allocations: 156.5 kB / 467.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.3895, allocations: 0.8808 MB / 468.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3895, allocations: 0.75 kB / 468.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.3904, allocations: 0.5234 MB / 468.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3909, allocations: 47.11 kB / 468.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.3933, allocations: 1.233 MB / 470 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3936, allocations: 0.8813 MB / 470.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.3938, allocations: 64.55 kB / 471 MB, free: 8.402 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3938, allocations: 0 / 471 MB, free: 8.402 MB / 366.1 MB Notification: Performance of Templates: time 0.01644/0.4102, allocations: 13.48 MB / 484.5 MB, free: 2.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.251873667002656]