Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.00184/0.00184, allocations: 113 kB / 19.04 MB, free: 3.254 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.002212/0.002212, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.403/1.403, allocations: 225.6 MB / 250.8 MB, free: 13.36 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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 51.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2358, allocations: 52.13 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004106/0.2399, allocations: 2.802 MB / 423.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2412, allocations: 0.88 MB / 424.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2413, allocations: 8 kB / 424.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2415, allocations: 47.52 kB / 424.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.2418, allocations: 107.2 kB / 424.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.242, allocations: 103.8 kB / 424.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.2424, allocations: 350.6 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.2426, allocations: 81.69 kB / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2428, allocations: 135.5 kB / 425.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.243, allocations: 151.3 kB / 425.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.243, allocations: 32 kB / 425.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.2431, allocations: 28 kB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.2431, allocations: 67.75 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2433, allocations: 155.2 kB / 425.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.2437, allocations: 363.7 kB / 426.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2437, allocations: 0 / 426.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2437, allocations: 0 / 426.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2437, allocations: 0 / 426.1 MB, free: 9.801 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001014/0.2447, allocations: 0.6078 MB / 426.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2447, allocations: 11.89 kB / 426.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.2448, allocations: 32.75 kB / 426.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2451, allocations: 273 kB / 427 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2452, allocations: 20.94 kB / 427.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.2452, allocations: 28.38 kB / 427.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.2457, allocations: 253.1 kB / 427.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2457, allocations: 0 / 427.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.2457, allocations: 12 kB / 427.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2457, allocations: 4 kB / 427.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.2462, allocations: 214.1 kB / 427.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.2478, allocations: 0.9978 MB / 428.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.2482, allocations: 201.6 kB / 428.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.2484, allocations: 100.8 kB / 428.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.2485, allocations: 4 kB / 428.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2485, allocations: 30.56 kB / 428.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.2485, allocations: 0 / 428.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005102/0.2536, allocations: 1.54 MB / 430.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2536, allocations: 63.2 kB / 430.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.2539, allocations: 229 kB / 430.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2539, allocations: 29.7 kB / 430.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.254, allocations: 180.5 kB / 430.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.2541, allocations: 126.9 kB / 431 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2542, allocations: 66.03 kB / 431.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2544, allocations: 338.8 kB / 431.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.2546, allocations: 116.7 kB / 431.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.2549, allocations: 157.4 kB / 431.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.2554, allocations: 280 kB / 432 MB, free: 3.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2554, allocations: 0 / 432 MB, free: 3.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001583/0.257, allocations: 0.5257 MB / 432.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.257, allocations: 4 kB / 432.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2571, allocations: 7.938 kB / 432.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.2583, allocations: 245.4 kB / 432.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2586, allocations: 63.89 kB / 432.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.2637, allocations: 4.134 MB / 437 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.264, allocations: 8 kB / 437 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.264, allocations: 19.97 kB / 437 MB, free: 14.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.2642, allocations: 157.7 kB / 437.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.2643, allocations: 23.86 kB / 437.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.319e-05/0.2644, allocations: 43.02 kB / 437.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2644, allocations: 4 kB / 437.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.2644, allocations: 4 kB / 437.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2644, allocations: 0 / 437.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.2666, allocations: 0.9822 MB / 438.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2666, allocations: 4 kB / 438.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.2668, allocations: 47.97 kB / 438.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.268, allocations: 245.7 kB / 438.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.268, allocations: 4 kB / 438.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/0.2728, allocations: 4.118 MB / 442.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2728, allocations: 3.938 kB / 442.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2747, allocations: 0.7289 MB / 443.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.2748, allocations: 101 kB / 443.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.2748, allocations: 12 kB / 443.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2751, allocations: 15.98 kB / 443.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.2751, allocations: 23.97 kB / 443.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.2752, allocations: 15.98 kB / 443.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.2753, allocations: 164.4 kB / 443.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2753, allocations: 0 / 443.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.2759, allocations: 104 kB / 443.8 MB, free: 7.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.2761, allocations: 107.2 kB / 443.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009836/0.2771, allocations: 0.5557 MB / 444.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2771, allocations: 0 / 444.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.2776, allocations: 413.1 kB / 444.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.278, allocations: 38.95 kB / 444.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2793, allocations: 0.7143 MB / 445.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.2797, allocations: 0.7798 MB / 446.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.2798, allocations: 26.27 kB / 446.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.2798, allocations: 23.44 kB / 446.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2798, allocations: 0 / 446.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of Templates: time 0.01036/0.2902, allocations: 5.689 MB / 452.1 MB, free: 14.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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: 4.664569833315909]