Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.00116/0.00116, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007815/0.008976, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001011/0.001011, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002345, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.02/1.02, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08564/1.106, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.09e-05, allocations: 5.125 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00346/0.003481, allocations: 2.838 MB / 242.4 MB, free: 332 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.00471, allocations: 0.7669 MB / 243.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.004849, allocations: 8 kB / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.004993, allocations: 59.44 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.005178, allocations: 99.12 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.00539, allocations: 107.7 kB / 243.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.005671, allocations: 394.4 kB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.005826, allocations: 93.97 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.006115, allocations: 268 kB / 244.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.006532, allocations: 123.6 kB / 244.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.006572, allocations: 32 kB / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.006605, allocations: 36 kB / 244.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.006641, allocations: 51.81 kB / 244.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.006721, allocations: 99.75 kB / 244.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.006942, allocations: 231.1 kB / 244.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.006955, allocations: 4 kB / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006956, allocations: 0 / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.006969, allocations: 4 kB / 244.7 MB, free: 13.97 MB / 250.7 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.0006455/0.007614, allocations: 0.6087 MB / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.007648, allocations: 11.89 kB / 245.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.007704, allocations: 48.91 kB / 245.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.007883, allocations: 189 kB / 245.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.007913, allocations: 25.03 kB / 245.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.007945, allocations: 32.38 kB / 245.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.008186, allocations: 215.3 kB / 245.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.008195, allocations: 192 / 245.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008213, allocations: 16.38 kB / 245.9 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.008222, allocations: 11.94 kB / 245.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.008328, allocations: 76.55 kB / 245.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.009139, allocations: 0.76 MB / 246.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.009273, allocations: 78.53 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.009308, allocations: 32.77 kB / 246.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.009331, allocations: 4 kB / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.009351, allocations: 34.56 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.813e-06/0.009353, allocations: 4 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008868/0.01024, allocations: 396.1 kB / 247.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01027, allocations: 59.41 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.01047, allocations: 248.8 kB / 247.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.01049, allocations: 29.7 kB / 247.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.01061, allocations: 216.1 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.01067, allocations: 75.33 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.01076, allocations: 65.62 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01087, allocations: 338.7 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.01094, allocations: 27.98 kB / 248.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.01107, allocations: 140 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01128, allocations: 181.1 kB / 248.6 MB, free: 9.816 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01128, allocations: 0 / 248.6 MB, free: 9.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003648/0.01165, allocations: 237.1 kB / 248.8 MB, free: 9.574 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.01167, allocations: 8 kB / 248.8 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.01168, allocations: 4 kB / 248.8 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.01204, allocations: 70.06 kB / 248.9 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.01221, allocations: 75.89 kB / 249 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.01362, allocations: 2.369 MB / 251.3 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01373, allocations: 19.92 kB / 251.4 MB, free: 6.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01374, allocations: 12 kB / 251.4 MB, free: 6.84 MB / 250.7 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 8.646e-05/0.01383, allocations: 141.7 kB / 251.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01386, allocations: 19.98 kB / 251.5 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.0139, allocations: 34.27 kB / 251.6 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.0139, allocations: 0 / 251.6 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.0139, allocations: 4 kB / 251.6 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.01391, allocations: 3.938 kB / 251.6 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.01406, allocations: 149.8 kB / 251.7 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01406, allocations: 0 / 251.7 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.855e-05/0.01415, allocations: 39.98 kB / 251.8 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01417, allocations: 15.86 kB / 251.8 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.01433, allocations: 73.7 kB / 251.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01434, allocations: 8 kB / 251.9 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009266/0.01527, allocations: 2.377 MB / 254.2 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01527, allocations: 4 kB / 254.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01546, allocations: 233 kB / 254.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01547, allocations: 8 kB / 254.5 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.01555, allocations: 11.98 kB / 254.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.01559, allocations: 23.97 kB / 254.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01559, allocations: 4 kB / 254.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.154e-05/0.01566, allocations: 82.77 kB / 254.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01566, allocations: 0 / 254.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01588, allocations: 72 kB / 254.7 MB, free: 3.324 MB / 250.7 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 8.26e-05/0.01596, allocations: 80.42 kB / 254.7 MB, free: 3.234 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.01626, allocations: 366.4 kB / 255.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/0.01628, allocations: 4 kB / 255.1 MB, free: 2.844 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.01644, allocations: 305.3 kB / 255.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01663, allocations: 49.23 kB / 255.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.01822, allocations: 0.5397 MB / 256 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/0.01827, allocations: 100.2 kB / 256.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.01835, allocations: 30.31 kB / 256.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.01844, allocations: 83.31 kB / 256.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01844, allocations: 0 / 256.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of Templates: time 0.005267/0.02371, allocations: 2.949 MB / 259.1 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6861902130767703]