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.0008857/0.0008857, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.0013/0.0013, allocations: 170.3 kB / 24.91 MB, free: 9.195 MB / 18.57 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.8544/0.8544, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.313e-06/1.313e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.938e-06/1.125e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.002926/0.002937, allocations: 3.464 MB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004198, allocations: 0.9888 MB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.004341, allocations: 7.938 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.004526, allocations: 99.08 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.004793, allocations: 174.6 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.005037, allocations: 175.6 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.005449, allocations: 0.658 MB / 279 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.005619, allocations: 130.6 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.005907, allocations: 371.1 kB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.006089, allocations: 203.4 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.006142, allocations: 52 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.006186, allocations: 52 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.006251, allocations: 123.5 kB / 279.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.006365, allocations: 195.5 kB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.006665, allocations: 410.4 kB / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.006666, allocations: 0 / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006667, allocations: 4 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006671, allocations: 0 / 280.5 MB, free: 10.2 MB / 266.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.00073/0.007401, allocations: 0.7723 MB / 281.3 MB, free: 9.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.007428, allocations: 11.97 kB / 281.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.007505, allocations: 80.88 kB / 281.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.007736, allocations: 241.4 kB / 281.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.007764, allocations: 37.69 kB / 281.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.00781, allocations: 52.38 kB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.008108, allocations: 319.7 kB / 282 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.008119, allocations: 4.188 kB / 282 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.008143, allocations: 23.94 kB / 282 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.008152, allocations: 12 kB / 282 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.008325, allocations: 142.4 kB / 282.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.009517, allocations: 1.048 MB / 283.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.009773, allocations: 191.8 kB / 283.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.009897, allocations: 93.41 kB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.009921, allocations: 8.312 kB / 283.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.009947, allocations: 42.83 kB / 283.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.009949, allocations: 0 / 283.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001457/0.01141, allocations: 0.911 MB / 284.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.01143, allocations: 59.84 kB / 284.5 MB, free: 6.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.01163, allocations: 363.1 kB / 284.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.01165, allocations: 41.64 kB / 284.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01175, allocations: 281.2 kB / 285.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.01183, allocations: 198.3 kB / 285.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.01193, allocations: 106.2 kB / 285.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.01201, allocations: 362.7 kB / 285.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.01208, allocations: 61.28 kB / 285.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.01221, allocations: 183.1 kB / 286.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.01244, allocations: 296.1 kB / 286.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01244, allocations: 0 / 286.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004167/0.01286, allocations: 442.6 kB / 286.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01287, allocations: 11.98 kB / 286.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01288, allocations: 0 / 286.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.01335, allocations: 221.1 kB / 287 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.01356, allocations: 107.8 kB / 287.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08168/0.09525, allocations: 3.293 MB / 290.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.0955, allocations: 27.89 kB / 290.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.09551, allocations: 15.75 kB / 290.5 MB, free: 24.5 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.0001122/0.09563, allocations: 142.9 kB / 290.6 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.09568, allocations: 49.16 kB / 290.7 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.09574, allocations: 60.11 kB / 290.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.09574, allocations: 5.281 kB / 290.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.09575, allocations: 4.438 kB / 290.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.09576, allocations: 5.172 kB / 290.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008288/0.09659, allocations: 0.7285 MB / 291.5 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.09659, allocations: 1.219 kB / 291.5 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.09672, allocations: 62.27 kB / 291.5 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.09714, allocations: 209.8 kB / 291.7 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.09715, allocations: 12.66 kB / 291.7 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.09834, allocations: 3.176 MB / 294.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.09835, allocations: 2.25 kB / 294.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.09868, allocations: 455.5 kB / 295.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.09872, allocations: 45.97 kB / 295.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.09875, allocations: 11.47 kB / 295.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.09887, allocations: 16.91 kB / 295.4 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.09893, allocations: 49.81 kB / 295.5 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.09894, allocations: 12.27 kB / 295.5 MB, free: 21.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.09904, allocations: 150.7 kB / 295.6 MB, free: 21.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09904, allocations: 0 / 295.6 MB, free: 21.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.09945, allocations: 150 kB / 295.8 MB, free: 21.39 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.407e-05/0.09954, allocations: 91.62 kB / 295.9 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.1, allocations: 0.5951 MB / 296.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.1, allocations: 3.312 kB / 296.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.1003, allocations: 441 kB / 296.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1005, allocations: 53.58 kB / 297 MB, free: 20.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.1014, allocations: 0.89 MB / 297.9 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.687e-05/0.1015, allocations: 135.3 kB / 298 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1016, allocations: 46.75 kB / 298 MB, free: 20.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.1017, allocations: 98.45 kB / 298.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of SimCode: time 1.021e-06/0.1017, allocations: 0 / 298.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of Templates: time 0.007516/0.1092, allocations: 5.454 MB / 303.6 MB, free: 19.13 MB / 266.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 -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.4499964308924973]