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.00145/0.00145, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00203/0.00203, allocations: 217 kB / 24.5 MB, free: 4.133 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002119/0.002119, allocations: 63.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2731, allocations: 53.4 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00788/0.2809, allocations: 3.56 MB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.2837, allocations: 0.9697 MB / 437 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005012/0.2842, allocations: 11.94 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.2847, allocations: 99.08 kB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009606/0.2857, allocations: 170.7 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.2864, allocations: 163.8 kB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2876, allocations: 0.6348 MB / 438 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.2881, allocations: 142 kB / 438.2 MB, free: 1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.2886, allocations: 251 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.2892, allocations: 278.6 kB / 438.7 MB, free: 492 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.2894, allocations: 52 kB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2896, allocations: 52 kB / 438.8 MB, free: 388 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2898, allocations: 123.5 kB / 438.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.2903, allocations: 278.6 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.2914, allocations: 0.639 MB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2914, allocations: 3.984 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2914, allocations: 0 / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.2914, allocations: 0 / 439.8 MB, free: 15.34 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.002533/0.2939, allocations: 0.805 MB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.294, allocations: 8.031 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.2942, allocations: 72.45 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.295, allocations: 290.1 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.295, allocations: 37.69 kB / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2952, allocations: 48.38 kB / 441.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2965, allocations: 442.4 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.2965, allocations: 4 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.2966, allocations: 20 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2966, allocations: 12 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.2978, allocations: 389 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.302, allocations: 1.516 MB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009784/0.303, allocations: 311.1 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.3036, allocations: 164.4 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.3037, allocations: 8.328 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3037, allocations: 34.89 kB / 444 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/0.3037, allocations: 4 kB / 444 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005072/0.3088, allocations: 1.199 MB / 445.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3089, allocations: 55.91 kB / 445.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.3097, allocations: 413.6 kB / 445.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.3098, allocations: 37.64 kB / 445.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.3101, allocations: 312.6 kB / 446 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.3103, allocations: 194.3 kB / 446.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.3106, allocations: 110.3 kB / 446.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.3108, allocations: 366.7 kB / 446.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.3115, allocations: 177.2 kB / 446.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/0.3124, allocations: 299 kB / 447.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.3139, allocations: 0.4922 MB / 447.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3139, allocations: 0 / 447.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002487/0.3164, allocations: 0.7367 MB / 448.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3164, allocations: 8 kB / 448.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.3164, allocations: 4 kB / 448.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008573/0.3173, allocations: 185.2 kB / 448.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.318, allocations: 111.9 kB / 448.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/0.3245, allocations: 4.071 MB / 452.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/0.3252, allocations: 35.92 kB / 452.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3253, allocations: 24 kB / 452.7 MB, free: 1.871 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.000393/0.3257, allocations: 181.7 kB / 452.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.3258, allocations: 47.78 kB / 453 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.326, allocations: 69 kB / 453 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.326, allocations: 4 kB / 453 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/0.3261, allocations: 4 kB / 453 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3261, allocations: 0 / 453 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.3297, allocations: 1.271 MB / 454.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3297, allocations: 0 / 454.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.3302, allocations: 71.89 kB / 454.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007125/0.3309, allocations: 154.1 kB / 454.5 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.331, allocations: 19.92 kB / 454.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.3371, allocations: 3.891 MB / 458.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3371, allocations: 0 / 458.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.339, allocations: 0.7002 MB / 459.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.3392, allocations: 55.59 kB / 459.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.3393, allocations: 16 kB / 459.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.3397, allocations: 19.97 kB / 459.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.3399, allocations: 52.28 kB / 459.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.3399, allocations: 16 kB / 459.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005098/0.3404, allocations: 283.2 kB / 459.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3404, allocations: 0 / 459.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001239/0.3417, allocations: 152 kB / 459.7 MB, free: 10.55 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.0001998/0.3419, allocations: 110.8 kB / 459.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.3442, allocations: 0.7659 MB / 460.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3442, allocations: 8 kB / 460.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.3455, allocations: 0.5074 MB / 461.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.3462, allocations: 45.84 kB / 461.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.349, allocations: 0.9961 MB / 462.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.3496, allocations: 0.8592 MB / 463 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.3498, allocations: 35.44 kB / 463 MB, free: 7.082 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3498, allocations: 0 / 463 MB, free: 7.082 MB / 366.1 MB Notification: Performance of Templates: time 0.0153/0.3651, allocations: 9.887 MB / 472.9 MB, free: 13.19 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.7098615621216595]