Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 100 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 187.5 kB / 24.45 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 51.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005308/0.2597, allocations: 3.219 MB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2614, allocations: 0.8686 MB / 427.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.2616, allocations: 8 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2619, allocations: 103.1 kB / 428 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.2622, allocations: 162.7 kB / 428.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.2626, allocations: 163.8 kB / 428.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.2633, allocations: 0.6348 MB / 429 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.2636, allocations: 132.9 kB / 429.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.2639, allocations: 251 kB / 429.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.2642, allocations: 234.7 kB / 429.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.2643, allocations: 55.94 kB / 429.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.2644, allocations: 52 kB / 429.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2645, allocations: 123.5 kB / 429.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2647, allocations: 230.9 kB / 430 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.2654, allocations: 0.6375 MB / 430.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2654, allocations: 0 / 430.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2655, allocations: 4 kB / 430.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.2655, allocations: 0 / 430.7 MB, free: 7.602 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001531/0.267, allocations: 0.7934 MB / 431.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.267, allocations: 8.031 kB / 431.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2671, allocations: 64.56 kB / 431.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.2676, allocations: 290.2 kB / 431.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.2677, allocations: 37.69 kB / 431.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.2678, allocations: 56.33 kB / 431.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.2686, allocations: 446.4 kB / 432.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2686, allocations: 0 / 432.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.2687, allocations: 20 kB / 432.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.2687, allocations: 12 kB / 432.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.2696, allocations: 393 kB / 432.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.2721, allocations: 1.247 MB / 434 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.2728, allocations: 307.5 kB / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.2732, allocations: 173.5 kB / 434.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.2733, allocations: 8.312 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2733, allocations: 42.83 kB / 434.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.2733, allocations: 0 / 434.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003394/0.2767, allocations: 1.185 MB / 435.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.2768, allocations: 55.91 kB / 435.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.2772, allocations: 393.4 kB / 436.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.2773, allocations: 37.7 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2775, allocations: 308.6 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.2777, allocations: 194.3 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.2778, allocations: 110.3 kB / 436.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.2781, allocations: 358.8 kB / 437.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.2785, allocations: 181.2 kB / 437.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.2791, allocations: 299.1 kB / 437.6 MB, free: 420 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.2801, allocations: 496 kB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2801, allocations: 0 / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001549/0.2816, allocations: 0.7406 MB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2817, allocations: 11.94 kB / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2817, allocations: 4 kB / 438.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.2822, allocations: 180.6 kB / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.2827, allocations: 111.8 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.2874, allocations: 3.974 MB / 443.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.2878, allocations: 31.92 kB / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.2878, allocations: 20 kB / 443.2 MB, free: 10.6 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.0002476/0.2881, allocations: 180.7 kB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.2882, allocations: 56.05 kB / 443.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2883, allocations: 52.91 kB / 443.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2883, allocations: 11.94 kB / 443.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.2883, allocations: 7.938 kB / 443.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2883, allocations: 11.86 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2907, allocations: 1.139 MB / 444.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2907, allocations: 0 / 444.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.291, allocations: 68.02 kB / 444.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.2914, allocations: 165.5 kB / 444.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.2915, allocations: 15.94 kB / 444.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004212/0.2957, allocations: 3.819 MB / 448.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2957, allocations: 0 / 448.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.297, allocations: 0.6962 MB / 449.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.2971, allocations: 47.66 kB / 449.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.2972, allocations: 8 kB / 449.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2975, allocations: 27.97 kB / 449.5 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2976, allocations: 48.3 kB / 449.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.2977, allocations: 19.98 kB / 449.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.298, allocations: 259.2 kB / 449.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.298, allocations: 0 / 449.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.2987, allocations: 156 kB / 449.9 MB, free: 3.531 MB / 350.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.0001489/0.2988, allocations: 109.1 kB / 450 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.3004, allocations: 0.7615 MB / 450.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3004, allocations: 0 / 450.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008943/0.3013, allocations: 0.5121 MB / 451.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3018, allocations: 45.62 kB / 451.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3037, allocations: 0.9844 MB / 452.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3039, allocations: 259 kB / 452.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3041, allocations: 35.42 kB / 452.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3041, allocations: 0 / 452.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Templates: time 0.01373/0.3178, allocations: 9.857 MB / 462.5 MB, free: 6.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.483431579079479]