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.001688/0.001688, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.001925/0.001925, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.133 MB / 190.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 1.222e-06/1.222e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.126e-05, allocations: 5.516 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003869/0.00389, allocations: 2.623 MB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005553, allocations: 0.8934 MB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.005699, allocations: 4.75 kB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.005954, allocations: 76.17 kB / 328.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.006268, allocations: 106 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.006618, allocations: 111.1 kB / 328.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.007056, allocations: 371.1 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.007249, allocations: 70.91 kB / 329.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.007596, allocations: 206.5 kB / 329.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.007811, allocations: 112 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.007865, allocations: 30.12 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.007953, allocations: 39 kB / 329.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.008032, allocations: 68.91 kB / 329.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.008181, allocations: 107.1 kB / 329.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.008721, allocations: 382 kB / 330.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.008724, allocations: 1.219 kB / 330.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008724, allocations: 0 / 330.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.00873, allocations: 0 / 330.2 MB, free: 13.32 MB / 302.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.001049/0.009779, allocations: 0.5391 MB / 330.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.009818, allocations: 12.73 kB / 330.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.01, allocations: 46.52 kB / 330.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.01037, allocations: 206.3 kB / 331 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.01039, allocations: 20.03 kB / 331 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.01045, allocations: 25.81 kB / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.01098, allocations: 281.7 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.011, allocations: 192 / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.01103, allocations: 10.56 kB / 331.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.01104, allocations: 10.69 kB / 331.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.01152, allocations: 214.3 kB / 331.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.01309, allocations: 0.802 MB / 332.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.01355, allocations: 199.9 kB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.01381, allocations: 109.1 kB / 332.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.01384, allocations: 3.312 kB / 332.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.01387, allocations: 44.81 kB / 332.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.01388, allocations: 0 / 332.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.005311/0.01919, allocations: 1.398 MB / 334.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.01923, allocations: 55.34 kB / 334.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.0195, allocations: 234.5 kB / 334.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.01954, allocations: 31.14 kB / 334.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.01969, allocations: 188.5 kB / 334.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.01979, allocations: 121.7 kB / 334.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01991, allocations: 64.81 kB / 334.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.02009, allocations: 341.1 kB / 335.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.02034, allocations: 109.2 kB / 335.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.02064, allocations: 172.9 kB / 335.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.02119, allocations: 276.3 kB / 335.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.02119, allocations: 0 / 335.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001638/0.02283, allocations: 0.5251 MB / 336.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.02284, allocations: 10.53 kB / 336.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.02285, allocations: 0 / 336.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.02413, allocations: 240 kB / 336.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.02441, allocations: 64.95 kB / 336.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.02962, allocations: 3.838 MB / 340.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.02987, allocations: 16.09 kB / 340.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.0299, allocations: 12 kB / 340.3 MB, free: 5.246 MB / 302.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.0002006/0.0301, allocations: 153.7 kB / 340.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/0.03018, allocations: 27.86 kB / 340.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.03028, allocations: 38.97 kB / 340.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.03028, allocations: 4 kB / 340.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.0303, allocations: 11.92 kB / 340.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0303, allocations: 0 / 340.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.03254, allocations: 0.8642 MB / 341.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.03254, allocations: 7.938 kB / 341.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.03276, allocations: 39.91 kB / 341.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.03402, allocations: 241.6 kB / 341.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.03404, allocations: 4 kB / 341.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005144/0.03918, allocations: 3.835 MB / 345.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.03919, allocations: 3.969 kB / 345.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.04112, allocations: 0.7246 MB / 346.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.04118, allocations: 27.81 kB / 346.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.04122, allocations: 8 kB / 346.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.04145, allocations: 11.98 kB / 346.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.04154, allocations: 27.95 kB / 346.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.04157, allocations: 19.98 kB / 346.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.04174, allocations: 165.2 kB / 346.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04174, allocations: 0 / 346.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006236/0.04237, allocations: 104 kB / 346.6 MB, free: 14.65 MB / 318.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.0001522/0.04252, allocations: 107.3 kB / 346.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.04358, allocations: 0.5486 MB / 347.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.04358, allocations: 0 / 347.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.04421, allocations: 417.1 kB / 347.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.04455, allocations: 24.42 kB / 347.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.04587, allocations: 0.6592 MB / 348.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.04605, allocations: 177.6 kB / 348.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.04614, allocations: 26.22 kB / 348.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.0462, allocations: 16.5 kB / 348.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.0462, allocations: 0 / 348.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of Templates: time 0.01134/0.05754, allocations: 5.62 MB / 354.2 MB, free: 6.984 MB / 318.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.732549160718918]