Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.002161, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007481/0.0007481, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009334/0.001682, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9563/0.9563, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08812/1.044, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.437e-05, allocations: 6.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004987/0.005012, allocations: 3.526 MB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.006663, allocations: 0.9888 MB / 249 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.006862, allocations: 8 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.007086, allocations: 99.09 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.00746, allocations: 182.5 kB / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.007809, allocations: 167.7 kB / 249.5 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.008408, allocations: 0.6464 MB / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.008667, allocations: 142.6 kB / 250.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.009158, allocations: 428.2 kB / 250.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.009369, allocations: 195.4 kB / 250.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.009426, allocations: 56 kB / 250.9 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.009474, allocations: 52 kB / 251 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.00953, allocations: 91.62 kB / 251.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.009649, allocations: 163.6 kB / 251.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.009972, allocations: 366.5 kB / 251.6 MB, free: 7.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.009989, allocations: 4 kB / 251.6 MB, free: 7.207 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00999, allocations: 4 kB / 251.6 MB, free: 7.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.01001, allocations: 0 / 251.6 MB, free: 7.203 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009032/0.01091, allocations: 0.8853 MB / 252.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.01094, allocations: 11.97 kB / 252.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.01102, allocations: 80.88 kB / 252.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.01126, allocations: 245.4 kB / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.01129, allocations: 41.69 kB / 252.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.01133, allocations: 48.38 kB / 252.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.01165, allocations: 315.7 kB / 253.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.01166, allocations: 4.188 kB / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01168, allocations: 23.94 kB / 253.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.01169, allocations: 12 kB / 253.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.01186, allocations: 142.4 kB / 253.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01303, allocations: 1.056 MB / 254.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.0133, allocations: 180.6 kB / 254.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01341, allocations: 93.41 kB / 254.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.01344, allocations: 12.31 kB / 254.7 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01347, allocations: 46.83 kB / 254.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.463e-06/0.01347, allocations: 0 / 254.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.001396/0.01486, allocations: 0.9032 MB / 255.7 MB, free: 2.984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.01489, allocations: 59.91 kB / 255.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.01509, allocations: 367 kB / 256.1 MB, free: 2.543 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01511, allocations: 41.64 kB / 256.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.01523, allocations: 277.2 kB / 256.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.01531, allocations: 194.3 kB / 256.6 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.01541, allocations: 114.2 kB / 256.7 MB, free: 1.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.01551, allocations: 366.7 kB / 257.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.01558, allocations: 57.28 kB / 257.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.0157, allocations: 175.1 kB / 257.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.01593, allocations: 296.1 kB / 257.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01593, allocations: 7.938 kB / 257.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004222/0.01635, allocations: 438.6 kB / 258 MB, free: 500 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01637, allocations: 8 kB / 258 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.01638, allocations: 4 kB / 258 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.01687, allocations: 221 kB / 258.2 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.01716, allocations: 131.7 kB / 258.4 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.01903, allocations: 3.299 MB / 261.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.01917, allocations: 27.98 kB / 261.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01919, allocations: 16 kB / 261.7 MB, free: 12.62 MB / 266.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 (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.0001016/0.01929, allocations: 141.8 kB / 261.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.01934, allocations: 55.89 kB / 261.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.01939, allocations: 57.03 kB / 262 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.0194, allocations: 8 kB / 262 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.0194, allocations: 4 kB / 262 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.01941, allocations: 3.984 kB / 262 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.02017, allocations: 0.7244 MB / 262.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.02017, allocations: 4 kB / 262.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.02031, allocations: 71.89 kB / 262.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.02035, allocations: 55.72 kB / 262.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.02076, allocations: 209.4 kB / 263 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.02077, allocations: 12 kB / 263.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.02237, allocations: 3.187 MB / 266.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02237, allocations: 0 / 266.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.02274, allocations: 450.5 kB / 266.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.02277, allocations: 12 kB / 266.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.02288, allocations: 24.03 kB / 266.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.02295, allocations: 52.34 kB / 266.8 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.02296, allocations: 8 kB / 266.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.02306, allocations: 148.7 kB / 266.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02306, allocations: 0 / 266.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.02343, allocations: 152 kB / 267.1 MB, free: 7 MB / 266.7 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 8.811e-05/0.02352, allocations: 88.36 kB / 267.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.02403, allocations: 0.5876 MB / 267.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.02405, allocations: 8 kB / 267.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.02434, allocations: 445.6 kB / 268.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.02457, allocations: 81.42 kB / 268.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.02617, allocations: 0.9592 MB / 269.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.02625, allocations: 138.3 kB / 269.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.02636, allocations: 48.23 kB / 269.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.02646, allocations: 91.38 kB / 269.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02646, allocations: 0 / 269.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of Templates: time 0.007662/0.03413, allocations: 5.56 MB / 275.1 MB, free: 14.94 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.5784847801551223]