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.001114/0.001114, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.00258, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001078/0.001078, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002603, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9577/0.9577, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07843/1.036, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.133e-06/1.133e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.737e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002858/0.002875, allocations: 2.877 MB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008632/0.003738, allocations: 0.7901 MB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003841, allocations: 4 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.003964, allocations: 67.42 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.004111, allocations: 111 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.004278, allocations: 111.7 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.004546, allocations: 390.4 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.004707, allocations: 97.94 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.005003, allocations: 264 kB / 249.7 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.005145, allocations: 135.5 kB / 249.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.005181, allocations: 32 kB / 249.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.005211, allocations: 36 kB / 249.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.005248, allocations: 55.75 kB / 249.9 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.005326, allocations: 103.8 kB / 250.1 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.005538, allocations: 223.1 kB / 250.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.005552, allocations: 0 / 250.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005552, allocations: 0 / 250.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.005568, allocations: 0 / 250.3 MB, free: 8.367 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.0006588/0.006227, allocations: 0.6049 MB / 250.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.006255, allocations: 15.97 kB / 250.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.00631, allocations: 52.89 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.006488, allocations: 186.1 kB / 251.1 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.006511, allocations: 21.03 kB / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.006544, allocations: 36.33 kB / 251.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.006778, allocations: 211.3 kB / 251.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006787, allocations: 4.125 kB / 251.4 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.006803, allocations: 16.38 kB / 251.4 MB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.006817, allocations: 15.94 kB / 251.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.006922, allocations: 80.55 kB / 251.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.007722, allocations: 0.7562 MB / 252.3 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.007844, allocations: 78.52 kB / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.007876, allocations: 28.86 kB / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.0079, allocations: 4 kB / 252.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.007919, allocations: 34.5 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.00792, allocations: 0 / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007111/0.008631, allocations: 405.7 kB / 252.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.008657, allocations: 55.39 kB / 252.8 MB, free: 5.629 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.008785, allocations: 248.8 kB / 253.1 MB, free: 5.375 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.008798, allocations: 29.7 kB / 253.1 MB, free: 5.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.008876, allocations: 223.8 kB / 253.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.00891, allocations: 75.33 kB / 253.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.008965, allocations: 61.67 kB / 253.5 MB, free: 4.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.00904, allocations: 338.8 kB / 253.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/0.009076, allocations: 23.98 kB / 253.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.009161, allocations: 132.2 kB / 254 MB, free: 4.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.009293, allocations: 197.1 kB / 254.1 MB, free: 4.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009295, allocations: 4 kB / 254.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002144/0.009509, allocations: 229.2 kB / 254.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.009521, allocations: 4.406 kB / 254.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.009527, allocations: 8 kB / 254.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.009755, allocations: 65.66 kB / 254.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.009904, allocations: 83.83 kB / 254.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.01094, allocations: 2.374 MB / 256.9 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.01104, allocations: 27.92 kB / 256.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01105, allocations: 8 kB / 256.9 MB, free: 1.215 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 7.671e-05/0.01113, allocations: 129.8 kB / 257.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.01115, allocations: 23.98 kB / 257.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.01118, allocations: 30.27 kB / 257.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01119, allocations: 4 kB / 257.1 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01119, allocations: 0 / 257.1 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0112, allocations: 3.938 kB / 257.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.01133, allocations: 157.8 kB / 257.3 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01133, allocations: 0 / 257.3 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.01141, allocations: 39.92 kB / 257.3 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.01143, allocations: 23.86 kB / 257.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.01161, allocations: 73.62 kB / 257.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.01162, allocations: 0 / 257.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009375/0.01255, allocations: 2.376 MB / 259.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01255, allocations: 192 / 259.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.01273, allocations: 244.3 kB / 260 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.01274, allocations: 4 kB / 260 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.01282, allocations: 20.05 kB / 260.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.01285, allocations: 15.97 kB / 260.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.01286, allocations: 4 kB / 260.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.01292, allocations: 86.75 kB / 260.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01292, allocations: 0 / 260.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01312, allocations: 72 kB / 260.2 MB, free: 13.7 MB / 266.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 7.628e-05/0.0132, allocations: 84.36 kB / 260.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.01351, allocations: 365 kB / 260.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.01352, allocations: 8 kB / 260.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.01367, allocations: 301.9 kB / 261 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01386, allocations: 53.3 kB / 261 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.01544, allocations: 0.5359 MB / 261.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.538e-05/0.0155, allocations: 96.08 kB / 261.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.01557, allocations: 30.27 kB / 261.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.01565, allocations: 87.36 kB / 261.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01565, allocations: 0 / 261.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Templates: time 0.004745/0.0204, allocations: 2.954 MB / 264.7 MB, free: 9.121 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] 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","",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.5105497101321816]