Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001781/0.001781, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001997/0.001997, allocations: 205.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.89 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2348, allocations: 53.4 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00418/0.239, allocations: 2.622 MB / 435 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2406, allocations: 0.8916 MB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2407, allocations: 7.938 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.241, allocations: 55.52 kB / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.2413, allocations: 115.2 kB / 436.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2416, allocations: 115.7 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.242, allocations: 354.7 kB / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.2421, allocations: 73.97 kB / 436.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2424, allocations: 147.4 kB / 436.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2426, allocations: 135.3 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.2426, allocations: 28 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.2427, allocations: 32 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.2428, allocations: 67.75 kB / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2429, allocations: 127.4 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.2433, allocations: 372.1 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2433, allocations: 0 / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2433, allocations: 4 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.2433, allocations: 0 / 437.5 MB, free: 1.426 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.0009831/0.2443, allocations: 0.5403 MB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2444, allocations: 11.98 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2445, allocations: 44.73 kB / 438.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.2449, allocations: 218.8 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.245, allocations: 21.03 kB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.245, allocations: 24.38 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.2455, allocations: 276.1 kB / 438.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2455, allocations: 0 / 438.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.2455, allocations: 12 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2455, allocations: 11.88 kB / 438.6 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.246, allocations: 210.5 kB / 438.8 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2475, allocations: 0.8009 MB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.248, allocations: 201.4 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.2482, allocations: 104.8 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.2482, allocations: 4 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2483, allocations: 38.56 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.2483, allocations: 0 / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.004977/0.2532, allocations: 1.401 MB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2533, allocations: 55.41 kB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.2535, allocations: 240.8 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2536, allocations: 29.7 kB / 441.7 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2537, allocations: 184.5 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2538, allocations: 130.9 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2539, allocations: 66.03 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2541, allocations: 334.8 kB / 442.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2543, allocations: 108.7 kB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.2546, allocations: 165.4 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.2552, allocations: 287.6 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2552, allocations: 4 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001553/0.2567, allocations: 0.5257 MB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2567, allocations: 8 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2567, allocations: 0 / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.258, allocations: 249.4 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.2582, allocations: 59.91 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.2632, allocations: 3.842 MB / 447.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.2634, allocations: 12 kB / 447.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2635, allocations: 12 kB / 447.7 MB, free: 6.777 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.0001732/0.2636, allocations: 145.8 kB / 447.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.2637, allocations: 31.78 kB / 447.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.2638, allocations: 38.97 kB / 447.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2638, allocations: 8.062 kB / 447.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.2638, allocations: 4 kB / 447.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2638, allocations: 3.984 kB / 447.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.2659, allocations: 0.8603 MB / 448.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2659, allocations: 0 / 448.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.2661, allocations: 43.86 kB / 448.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.2673, allocations: 245.5 kB / 449 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2673, allocations: 8 kB / 449 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.2721, allocations: 3.831 MB / 452.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2721, allocations: 0 / 452.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.2739, allocations: 0.7208 MB / 453.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.2739, allocations: 27.83 kB / 453.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.274, allocations: 8 kB / 453.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.2742, allocations: 12 kB / 453.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.2743, allocations: 31.94 kB / 453.7 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.2743, allocations: 16.05 kB / 453.7 MB, free: 468 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.2745, allocations: 164.4 kB / 453.8 MB, free: 304 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2745, allocations: 0 / 453.8 MB, free: 304 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.2751, allocations: 104 kB / 453.9 MB, free: 200 kB / 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.0001251/0.2752, allocations: 110.7 kB / 454.1 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2762, allocations: 0.5523 MB / 454.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2762, allocations: 4 kB / 454.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006025/0.2768, allocations: 413.5 kB / 455 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2771, allocations: 28.44 kB / 455 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2785, allocations: 0.7482 MB / 455.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.2787, allocations: 177.6 kB / 456 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.2788, allocations: 19.44 kB / 456 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2788, allocations: 3.938 kB / 456 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Templates: time 0.008769/0.2875, allocations: 6.229 MB / 462.2 MB, free: 7.805 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.703702916856855]