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.00173/0.00173, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002181/0.002181, allocations: 217.4 kB / 23 MB, free: 5.574 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.446/1.446, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.00187/0.00187, allocations: 63.91 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2484, allocations: 53.31 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004378/0.2528, allocations: 2.812 MB / 432.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2545, allocations: 0.9579 MB / 433.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2547, allocations: 4 kB / 433.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.2549, allocations: 55.45 kB / 433.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.2552, allocations: 115.2 kB / 433.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2556, allocations: 115.7 kB / 433.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.256, allocations: 354.6 kB / 434.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.2562, allocations: 85.62 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.2565, allocations: 139.5 kB / 434.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.2567, allocations: 151.2 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.2567, allocations: 36 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.2568, allocations: 35.98 kB / 434.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.2569, allocations: 67.77 kB / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.257, allocations: 151.2 kB / 434.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.2575, allocations: 367.7 kB / 435.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2575, allocations: 4 kB / 435.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2575, allocations: 0 / 435.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.2575, allocations: 0 / 435.2 MB, free: 2.086 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.001126/0.2586, allocations: 0.6194 MB / 435.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2586, allocations: 8.031 kB / 435.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.2588, allocations: 40.75 kB / 435.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.2593, allocations: 272.7 kB / 436.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2593, allocations: 24.94 kB / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.2594, allocations: 24.38 kB / 436.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.2599, allocations: 253.2 kB / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2599, allocations: 0 / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.26, allocations: 12 kB / 436.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.26, allocations: 8 kB / 436.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.2604, allocations: 210.1 kB / 436.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.2621, allocations: 1.002 MB / 437.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.2626, allocations: 198.4 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.2629, allocations: 104.8 kB / 437.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.2629, allocations: 4 kB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.2629, allocations: 30.56 kB / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.2629, allocations: 4 kB / 438 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005252/0.2682, allocations: 1.557 MB / 439.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2682, allocations: 63.34 kB / 439.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.2685, allocations: 237 kB / 439.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2685, allocations: 33.7 kB / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2686, allocations: 176.5 kB / 440 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2687, allocations: 126.9 kB / 440.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2689, allocations: 66.06 kB / 440.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.269, allocations: 334.8 kB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.2693, allocations: 112.7 kB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.2696, allocations: 157.7 kB / 440.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.2701, allocations: 287.6 kB / 441.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2701, allocations: 0 / 441.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001572/0.2717, allocations: 0.5296 MB / 441.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2717, allocations: 4 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2717, allocations: 4 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.273, allocations: 245.4 kB / 441.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.2732, allocations: 59.91 kB / 441.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/0.2784, allocations: 4.148 MB / 446.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.2786, allocations: 8 kB / 446.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2786, allocations: 12 kB / 446.1 MB, free: 6.531 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.0001844/0.2788, allocations: 161.3 kB / 446.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.2789, allocations: 23.86 kB / 446.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.279, allocations: 34.97 kB / 446.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.279, allocations: 8.062 kB / 446.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.279, allocations: 7.938 kB / 446.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.279, allocations: 3.984 kB / 446.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.2812, allocations: 0.9814 MB / 447.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2812, allocations: 0 / 447.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.2814, allocations: 47.97 kB / 447.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.2826, allocations: 237.8 kB / 447.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.2826, allocations: 8 kB / 447.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.2876, allocations: 4.126 MB / 451.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2876, allocations: 3.984 kB / 451.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.2895, allocations: 0.7218 MB / 452.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.2896, allocations: 104.9 kB / 452.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.2896, allocations: 16 kB / 452.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.2899, allocations: 15.98 kB / 452.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.29, allocations: 23.97 kB / 452.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.29, allocations: 11.98 kB / 452.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.2902, allocations: 168.5 kB / 452.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2902, allocations: 0 / 452.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005842/0.2907, allocations: 100 kB / 452.9 MB, free: 15.34 MB / 366.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.0001446/0.2909, allocations: 119.1 kB / 453 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.2919, allocations: 0.5479 MB / 453.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.2919, allocations: 4.062 kB / 453.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.2925, allocations: 417.1 kB / 454 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2928, allocations: 24.7 kB / 454 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2942, allocations: 0.7182 MB / 454.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.2946, allocations: 0.784 MB / 455.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.353e-05/0.2947, allocations: 26.23 kB / 455.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.2947, allocations: 15.44 kB / 455.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2947, allocations: 0 / 455.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01097/0.3057, allocations: 5.709 MB / 461.2 MB, free: 6.875 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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: 4.72910042386502]