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.001454/0.001454, allocations: 112.3 kB / 20.48 MB, free: 1.121 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.001607/0.001607, allocations: 214.6 kB / 23.78 MB, free: 4.316 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.589/1.589, allocations: 230.5 MB / 257.5 MB, free: 7.914 MB / 206.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 0.001953/0.001953, allocations: 63.89 kB / 378.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2329, allocations: 53.4 MB / 431.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006968/0.2399, allocations: 4.573 MB / 436.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.2439, allocations: 2.012 MB / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.2444, allocations: 16 kB / 438.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.2483, allocations: 1.306 MB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.2498, allocations: 409.3 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.2524, allocations: 1.138 MB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2535, allocations: 0.7395 MB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009369/0.2544, allocations: 0.5584 MB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.2549, allocations: 338.8 kB / 442.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.2554, allocations: 382.3 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.774e-05/0.2555, allocations: 64 kB / 443.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.2563, allocations: 391.6 kB / 443.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2565, allocations: 163.4 kB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.2568, allocations: 310.6 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.2583, allocations: 1.218 MB / 445.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2583, allocations: 0 / 445.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2583, allocations: 3.938 kB / 445.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2583, allocations: 0 / 445.3 MB, free: 8.863 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.00449/0.2628, allocations: 1.398 MB / 446.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2628, allocations: 15.98 kB / 446.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.2655, allocations: 372.1 kB / 447.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.2658, allocations: 198.3 kB / 447.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.2658, allocations: 62.38 kB / 447.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.266, allocations: 84.38 kB / 447.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.2678, allocations: 0.8934 MB / 448.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.2679, allocations: 15.94 kB / 448.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-05/0.268, allocations: 28 kB / 448.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.268, allocations: 20 kB / 448.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.2699, allocations: 0.7847 MB / 449.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.2743, allocations: 2.308 MB / 451.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.2754, allocations: 0.4986 MB / 452 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.2759, allocations: 222.2 kB / 452.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.276, allocations: 32.47 kB / 452.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2761, allocations: 39.06 kB / 452.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/0.2761, allocations: 0 / 452.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007369/0.2834, allocations: 2.159 MB / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.2835, allocations: 85.61 kB / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.2839, allocations: 311.9 kB / 454.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.2839, allocations: 33.7 kB / 454.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.2842, allocations: 379.9 kB / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.2844, allocations: 214.1 kB / 455.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.2846, allocations: 150.5 kB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2848, allocations: 346.8 kB / 455.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.2855, allocations: 269.8 kB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009704/0.2865, allocations: 0.5216 MB / 456.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.2883, allocations: 0.8088 MB / 457.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.2883, allocations: 4 kB / 457.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002191/0.2905, allocations: 0.8971 MB / 458.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2905, allocations: 12 kB / 458.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.2905, allocations: 8 kB / 458.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.2908, allocations: 65.67 kB / 458.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.2917, allocations: 203.6 kB / 458.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.2939, allocations: 2.608 MB / 461.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/0.2946, allocations: 67.97 kB / 461.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.2946, allocations: 43.98 kB / 461.4 MB, free: 8.023 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.0003125/0.2949, allocations: 213.5 kB / 461.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.295, allocations: 39.77 kB / 461.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.297, allocations: 0.7295 MB / 462.4 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.297, allocations: 7.938 kB / 462.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.297, allocations: 8 kB / 462.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.297, allocations: 7.984 kB / 462.4 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.2998, allocations: 1.197 MB / 463.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.2998, allocations: 3.938 kB / 463.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.3005, allocations: 135.8 kB / 463.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.3007, allocations: 57.67 kB / 463.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.3007, allocations: 15.98 kB / 463.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.303, allocations: 2.596 MB / 466.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.303, allocations: 0 / 466.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.3056, allocations: 1.07 MB / 467.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.3059, allocations: 87.73 kB / 467.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.306, allocations: 12 kB / 467.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.3065, allocations: 47.94 kB / 467.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3066, allocations: 48.41 kB / 467.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.3067, allocations: 19.98 kB / 467.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3069, allocations: 203 kB / 467.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3069, allocations: 0 / 467.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007629/0.3077, allocations: 175.9 kB / 468.1 MB, free: 1.078 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.0003075/0.308, allocations: 171.2 kB / 468.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.3101, allocations: 0.8762 MB / 469.1 MB, free: 0 / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3101, allocations: 0 / 469.1 MB, free: 0 / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.3111, allocations: 0.5241 MB / 469.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3116, allocations: 39.48 kB / 469.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.3144, allocations: 1.204 MB / 470.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3147, allocations: 286.6 kB / 471.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.3151, allocations: 80.39 kB / 471.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3152, allocations: 56.47 kB / 471.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3152, allocations: 0 / 471.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.0142/0.3295, allocations: 6.374 MB / 477.7 MB, free: 7.465 MB / 382.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.885675057768822]