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.001284/0.001284, allocations: 113 kB / 18.41 MB, free: 4.684 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.001308/0.001308, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 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.407/1.407, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.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.001517/0.001517, allocations: 43.92 kB / 358.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09385, allocations: 49.44 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004189/0.09808, allocations: 2.73 MB / 410.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.09963, allocations: 0.8722 MB / 411.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.09979, allocations: 4 kB / 411.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1001, allocations: 55.5 kB / 411.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1004, allocations: 103.2 kB / 411.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1006, allocations: 103.8 kB / 412 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.101, allocations: 354.6 kB / 412.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1012, allocations: 105.7 kB / 412.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.1014, allocations: 139.5 kB / 412.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1016, allocations: 143.3 kB / 412.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1017, allocations: 28 kB / 412.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.1018, allocations: 32 kB / 412.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.1018, allocations: 75.75 kB / 412.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.102, allocations: 159.1 kB / 413 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.1024, allocations: 358.5 kB / 413.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1024, allocations: 0 / 413.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1024, allocations: 0 / 413.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1025, allocations: 0 / 413.3 MB, free: 1.652 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.001028/0.1035, allocations: 0.6078 MB / 413.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1035, allocations: 15.83 kB / 414 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.1036, allocations: 32.75 kB / 414 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.104, allocations: 272.1 kB / 414.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.104, allocations: 20.94 kB / 414.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.1041, allocations: 24.38 kB / 414.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.1046, allocations: 261.1 kB / 414.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1046, allocations: 0 / 414.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.1046, allocations: 12 kB / 414.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1047, allocations: 4 kB / 414.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.1051, allocations: 210.1 kB / 414.8 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1068, allocations: 1.009 MB / 415.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1072, allocations: 198.5 kB / 416 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.1075, allocations: 116.8 kB / 416.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1075, allocations: 7.984 kB / 416.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1076, allocations: 34.59 kB / 416.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.1076, allocations: 0 / 416.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005218/0.1128, allocations: 1.533 MB / 417.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1129, allocations: 71.12 kB / 417.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1132, allocations: 236.9 kB / 418 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1132, allocations: 29.7 kB / 418 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1133, allocations: 184.5 kB / 418.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1135, allocations: 126.9 kB / 418.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1136, allocations: 66.03 kB / 418.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1138, allocations: 334.8 kB / 418.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.114, allocations: 108.7 kB / 418.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1143, allocations: 161.5 kB / 419 MB, free: 11.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.1149, allocations: 284 kB / 419.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1149, allocations: 0 / 419.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001583/0.1165, allocations: 0.5333 MB / 419.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1165, allocations: 8 kB / 419.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1165, allocations: 0 / 419.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.1178, allocations: 245.5 kB / 420 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.118, allocations: 55.91 kB / 420.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.1233, allocations: 4.136 MB / 424.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1236, allocations: 16.08 kB / 424.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1237, allocations: 12 kB / 424.2 MB, free: 6.102 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.000235/0.1239, allocations: 157.7 kB / 424.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.124, allocations: 23.86 kB / 424.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.593e-05/0.1241, allocations: 38.95 kB / 424.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1241, allocations: 4 kB / 424.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.1241, allocations: 8 kB / 424.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1241, allocations: 4 kB / 424.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.1263, allocations: 0.9893 MB / 425.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1263, allocations: 4 kB / 425.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.1266, allocations: 39.97 kB / 425.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.1278, allocations: 245.4 kB / 425.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1278, allocations: 4 kB / 425.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.1329, allocations: 4.13 MB / 429.9 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1329, allocations: 0 / 429.9 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1757/0.3086, allocations: 0.724 MB / 430.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.3087, allocations: 111.5 kB / 430.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.3087, allocations: 9.188 kB / 430.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3089, allocations: 12.97 kB / 430.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3091, allocations: 28.95 kB / 430.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3091, allocations: 13.12 kB / 430.8 MB, free: 21.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3092, allocations: 168.5 kB / 430.9 MB, free: 21.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3092, allocations: 3.5 kB / 430.9 MB, free: 21.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.3098, allocations: 98.59 kB / 431 MB, free: 21.71 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.0001048/0.3099, allocations: 109.1 kB / 431.1 MB, free: 21.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008596/0.3108, allocations: 0.5695 MB / 431.7 MB, free: 21.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3108, allocations: 0 / 431.7 MB, free: 21.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.3113, allocations: 428.2 kB / 432.1 MB, free: 21.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3116, allocations: 30.16 kB / 432.1 MB, free: 21.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3127, allocations: 0.723 MB / 432.9 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.3129, allocations: 0.7789 MB / 433.6 MB, free: 20.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.313, allocations: 21.42 kB / 433.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.313, allocations: 0 / 433.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of Templates: time 0.008878/0.3219, allocations: 5.996 MB / 439.7 MB, free: 19.81 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.695506591000594]