Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001591/0.001591, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001654/0.001654, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.466/1.466, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.91 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.264, allocations: 53.42 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005283/0.2693, allocations: 3.233 MB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.2712, allocations: 0.9114 MB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.2714, allocations: 11.94 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.2717, allocations: 103.1 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.2721, allocations: 170.4 kB / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.2725, allocations: 175.7 kB / 437 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.2732, allocations: 0.6309 MB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2735, allocations: 134 kB / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.2738, allocations: 247 kB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.2741, allocations: 238.7 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.2742, allocations: 52 kB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.2743, allocations: 55.94 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2744, allocations: 123.5 kB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.2746, allocations: 230.8 kB / 438.7 MB, free: 216 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.2753, allocations: 0.6485 MB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2753, allocations: 0 / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2753, allocations: 0 / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2753, allocations: 0 / 439.3 MB, free: 15.56 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001491/0.2768, allocations: 0.7972 MB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2769, allocations: 11.98 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.277, allocations: 68.52 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.2775, allocations: 294 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.2776, allocations: 37.69 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.36e-05/0.2777, allocations: 48.38 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.2785, allocations: 446.4 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2785, allocations: 0 / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.2786, allocations: 20 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.2786, allocations: 15.98 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.2795, allocations: 389 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.2819, allocations: 1.262 MB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.2826, allocations: 304.8 kB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.283, allocations: 165.4 kB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.2831, allocations: 4.328 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2831, allocations: 34.89 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.175e-06/0.2831, allocations: 0 / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003304/0.2864, allocations: 1.203 MB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.2865, allocations: 55.91 kB / 444.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.2869, allocations: 405.5 kB / 444.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.287, allocations: 29.7 kB / 444.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.2872, allocations: 324.5 kB / 445.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.2873, allocations: 202.3 kB / 445.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.2875, allocations: 106.3 kB / 445.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2877, allocations: 354.8 kB / 445.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.2881, allocations: 185.2 kB / 446 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.2887, allocations: 307.2 kB / 446.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.2896, allocations: 500 kB / 446.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2896, allocations: 4 kB / 446.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001501/0.2911, allocations: 0.725 MB / 447.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2911, allocations: 11.94 kB / 447.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.2911, allocations: 7.984 kB / 447.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.2917, allocations: 181.5 kB / 447.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.2922, allocations: 107.9 kB / 447.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.2967, allocations: 3.977 MB / 451.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.2971, allocations: 39.86 kB / 451.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.2972, allocations: 20 kB / 451.9 MB, free: 2.504 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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.2974, allocations: 185.8 kB / 452.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.2975, allocations: 43.72 kB / 452.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2976, allocations: 65.02 kB / 452.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2976, allocations: 4 kB / 452.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.2977, allocations: 8 kB / 452.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2977, allocations: 7.875 kB / 452.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.3, allocations: 1.132 MB / 453.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3, allocations: 8.125 kB / 453.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.3003, allocations: 67.89 kB / 453.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.3007, allocations: 157.6 kB / 453.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3007, allocations: 12 kB / 453.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.3047, allocations: 3.815 MB / 457.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3047, allocations: 96 / 457.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3061, allocations: 0.6963 MB / 458.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3062, allocations: 43.66 kB / 458.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.3063, allocations: 12 kB / 458.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.3066, allocations: 27.97 kB / 458.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3067, allocations: 52.23 kB / 458.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3067, allocations: 23.98 kB / 458.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.307, allocations: 267.2 kB / 458.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.307, allocations: 0 / 458.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007385/0.3078, allocations: 152 kB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.3079, allocations: 125.8 kB / 458.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.3095, allocations: 0.7613 MB / 459.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3095, allocations: 0 / 459.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.3104, allocations: 0.5123 MB / 460 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3108, allocations: 41.48 kB / 460.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3128, allocations: 1.003 MB / 461.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3131, allocations: 263 kB / 461.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3132, allocations: 39.42 kB / 461.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3132, allocations: 0 / 461.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of Templates: time 0.01367/0.3269, allocations: 10.04 MB / 471.4 MB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 7.61633394472301]