Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001487/0.001487, allocations: 211.8 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.249, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004096/0.2531, allocations: 2.622 MB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2547, allocations: 0.8878 MB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.2549, allocations: 4 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.2551, allocations: 63.42 kB / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.2554, allocations: 107.2 kB / 435.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.2557, allocations: 115.8 kB / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.2561, allocations: 354.6 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.2563, allocations: 80.5 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.2565, allocations: 143.4 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2567, allocations: 139.2 kB / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.2568, allocations: 32 kB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.2569, allocations: 36 kB / 436.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.2569, allocations: 67.77 kB / 436.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.2571, allocations: 123.4 kB / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.2575, allocations: 374.2 kB / 436.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2575, allocations: 0 / 436.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2575, allocations: 0 / 436.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.2575, allocations: 0 / 436.7 MB, free: 1.598 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.001022/0.2585, allocations: 0.5442 MB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2586, allocations: 8.031 kB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2587, allocations: 44.73 kB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.2591, allocations: 214.8 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.2591, allocations: 21.03 kB / 437.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.2592, allocations: 24.38 kB / 437.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.2597, allocations: 288 kB / 437.8 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2597, allocations: 0 / 437.8 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2597, allocations: 12 kB / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2597, allocations: 8 kB / 437.8 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.2602, allocations: 206.5 kB / 438 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.2618, allocations: 0.8009 MB / 438.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.2622, allocations: 200.3 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2625, allocations: 96.81 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.2625, allocations: 8 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.2626, allocations: 42.56 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.2626, allocations: 0 / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005138/0.2677, allocations: 1.409 MB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2678, allocations: 55.41 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.268, allocations: 232.8 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.268, allocations: 29.7 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2682, allocations: 192.5 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2683, allocations: 123 kB / 441.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.2684, allocations: 70.02 kB / 441.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2686, allocations: 334.8 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2689, allocations: 104.7 kB / 441.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.2692, allocations: 165.5 kB / 441.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.2697, allocations: 283.6 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2697, allocations: 4 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001585/0.2713, allocations: 0.5257 MB / 442.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2713, allocations: 12 kB / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2713, allocations: 0 / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.2726, allocations: 245.4 kB / 442.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2728, allocations: 51.97 kB / 443 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005318/0.2782, allocations: 3.853 MB / 446.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2784, allocations: 16.05 kB / 446.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.2784, allocations: 12 kB / 446.9 MB, free: 6.953 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.0001977/0.2786, allocations: 145.8 kB / 447 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.2787, allocations: 31.75 kB / 447 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2788, allocations: 42.95 kB / 447.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2788, allocations: 4 kB / 447.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2788, allocations: 11.94 kB / 447.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2788, allocations: 3.984 kB / 447.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.281, allocations: 0.8566 MB / 447.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.281, allocations: 0 / 447.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.2812, allocations: 43.91 kB / 448 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.2824, allocations: 253.6 kB / 448.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2824, allocations: 8 kB / 448.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/0.2874, allocations: 3.818 MB / 452.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2874, allocations: 0 / 452.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.2893, allocations: 0.7247 MB / 452.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.2893, allocations: 23.84 kB / 452.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.2893, allocations: 12 kB / 452.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2896, allocations: 15.98 kB / 452.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.2896, allocations: 27.94 kB / 452.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2897, allocations: 12 kB / 452.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.2898, allocations: 168.8 kB / 453 MB, free: 480 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2898, allocations: 0 / 453 MB, free: 480 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006055/0.2905, allocations: 100 kB / 453.1 MB, free: 380 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.000136/0.2906, allocations: 119.1 kB / 453.3 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.2916, allocations: 0.5515 MB / 453.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2916, allocations: 0 / 453.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.2922, allocations: 413.1 kB / 454.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2926, allocations: 24.44 kB / 454.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2939, allocations: 0.7174 MB / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.2941, allocations: 177.6 kB / 455.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.2942, allocations: 18.28 kB / 455.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.2942, allocations: 19.42 kB / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2942, allocations: 0 / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01172/0.306, allocations: 5.997 MB / 461.2 MB, free: 8.246 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.811583712697029]