Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001739/0.001739, allocations: 107 kB / 19.8 MB, free: 2.5 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.002218/0.002218, allocations: 217.8 kB / 23 MB, free: 5.578 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.408/1.408, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 63.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2723, allocations: 53.33 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004273/0.2766, allocations: 2.851 MB / 432.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.278, allocations: 0.7983 MB / 433.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2781, allocations: 4 kB / 433.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.2784, allocations: 67.36 kB / 433.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.2786, allocations: 99.25 kB / 433.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.2789, allocations: 107.8 kB / 433.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.2793, allocations: 386.6 kB / 434.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.2795, allocations: 94.92 kB / 434.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.2798, allocations: 163.4 kB / 434.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.28, allocations: 175.2 kB / 434.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.2801, allocations: 36 kB / 434.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.2801, allocations: 32 kB / 434.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.2802, allocations: 71.75 kB / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.2803, allocations: 179.1 kB / 434.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.2808, allocations: 399.5 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2808, allocations: 0 / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2808, allocations: 3.938 kB / 435.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2808, allocations: 0 / 435.2 MB, free: 2.117 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001279/0.2821, allocations: 0.6545 MB / 435.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2821, allocations: 8.031 kB / 435.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.2822, allocations: 40.7 kB / 435.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.2826, allocations: 272.7 kB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.2826, allocations: 29.03 kB / 436.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.2827, allocations: 28.38 kB / 436.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.2833, allocations: 290.4 kB / 436.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2833, allocations: 0 / 436.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.2833, allocations: 12 kB / 436.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2834, allocations: 8 kB / 436.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.284, allocations: 250.5 kB / 436.8 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.2858, allocations: 1.112 MB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2862, allocations: 154.4 kB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2864, allocations: 64.81 kB / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.2864, allocations: 0 / 438.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2865, allocations: 38.56 kB / 438.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.2865, allocations: 0 / 438.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002068/0.2885, allocations: 0.5936 MB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2886, allocations: 59.41 kB / 438.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2889, allocations: 270.5 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.2889, allocations: 29.7 kB / 439.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2891, allocations: 236 kB / 439.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.2891, allocations: 75.38 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2892, allocations: 69.44 kB / 439.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2894, allocations: 338.8 kB / 439.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.2897, allocations: 99.94 kB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2901, allocations: 196.1 kB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.2907, allocations: 297.1 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2907, allocations: 4 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008663/0.2916, allocations: 393.3 kB / 440.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2916, allocations: 4 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2916, allocations: 7.984 kB / 440.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/0.2919, allocations: 57.81 kB / 440.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.2922, allocations: 79.83 kB / 440.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.2946, allocations: 2.837 MB / 443.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.2949, allocations: 19.98 kB / 443.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.2949, allocations: 16 kB / 443.8 MB, free: 8.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001694/0.2951, allocations: 153.7 kB / 443.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.2951, allocations: 27.86 kB / 444 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.2952, allocations: 30.17 kB / 444 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2952, allocations: 7.938 kB / 444 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2952, allocations: 0 / 444 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2952, allocations: 3.984 kB / 444 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.2956, allocations: 329.4 kB / 444.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2956, allocations: 8 kB / 444.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.2958, allocations: 35.97 kB / 444.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.296, allocations: 57.61 kB / 444.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.296, allocations: 8 kB / 444.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.2983, allocations: 2.826 MB / 447.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2983, allocations: 192 / 447.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.299, allocations: 376.8 kB / 447.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.2991, allocations: 104.9 kB / 447.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.2991, allocations: 4 kB / 447.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2993, allocations: 19.97 kB / 447.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.2994, allocations: 23.91 kB / 447.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2994, allocations: 8 kB / 447.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.2996, allocations: 186 kB / 448 MB, free: 4.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2996, allocations: 0 / 448 MB, free: 4.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.3, allocations: 76 kB / 448 MB, free: 4.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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.0001427/0.3002, allocations: 103.2 kB / 448.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.3011, allocations: 473.2 kB / 448.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3011, allocations: 0 / 448.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.3016, allocations: 342.2 kB / 448.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.302, allocations: 35.53 kB / 449 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3031, allocations: 0.5643 MB / 449.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3035, allocations: 0.7752 MB / 450.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3036, allocations: 30.27 kB / 450.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3036, allocations: 19.44 kB / 450.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3036, allocations: 0 / 450.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Templates: time 0.007257/0.3109, allocations: 2.881 MB / 453.2 MB, free: 14.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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.43459418322891]