Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001313/0.001313, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001427/0.001427, allocations: 219 kB / 24.49 MB, free: 3.93 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 46.98 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 72.12 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003233/0.2969, allocations: 1.847 MB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.2979, allocations: 0.5504 MB / 0.5642 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.298, allocations: 0 / 0.5642 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.773e-05/0.298, allocations: 23.8 kB / 0.5642 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2982, allocations: 43.62 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2985, allocations: 79.83 kB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.2986, allocations: 155.4 kB / 0.5644 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2988, allocations: 23.97 kB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.299, allocations: 75.77 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2991, allocations: 79.67 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2991, allocations: 12 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.2991, allocations: 12 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.2992, allocations: 23.92 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.2992, allocations: 55.78 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2995, allocations: 147.1 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2995, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2995, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2995, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008235/0.3003, allocations: 381.8 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3003, allocations: 8.031 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/0.3006, allocations: 44.81 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3008, allocations: 130.4 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3008, allocations: 8.375 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.3009, allocations: 12.31 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.3012, allocations: 190.7 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3012, allocations: 3.938 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3013, allocations: 4 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3013, allocations: 0 / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.3016, allocations: 95.92 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.3024, allocations: 379.1 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3027, allocations: 86.52 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3029, allocations: 40.92 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3029, allocations: 4 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3029, allocations: 30.56 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3029, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001422/0.3044, allocations: 321.1 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.3044, allocations: 102.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3046, allocations: 160.4 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3046, allocations: 29.7 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.3047, allocations: 108.2 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3047, allocations: 27.84 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.3048, allocations: 29.64 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3049, allocations: 322.8 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3052, allocations: 55.95 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.3054, allocations: 147.6 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.3059, allocations: 138.4 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3059, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005305/0.3064, allocations: 181.5 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3064, allocations: 4 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3064, allocations: 0 / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3065, allocations: 12 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.3071, allocations: 83.91 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.3087, allocations: 1.37 MB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.3089, allocations: 23.92 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3089, allocations: 3.984 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.309, allocations: 129.7 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.3091, allocations: 7.953 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.3096, allocations: 162.4 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3096, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3096, allocations: 4.531 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3097, allocations: 15.89 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3097, allocations: 7.938 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3099, allocations: 27.97 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.31, allocations: 11.91 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006189/0.3106, allocations: 244.8 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005711/0.3111, allocations: 326.7 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002199/0.3114, allocations: 59.94 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.3114, allocations: 111.2 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.3114, allocations: 0 / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.3125, allocations: 205.2 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007785/0.3132, allocations: 0.6735 MB / 0.5711 GB, free: 10.16 MB / 414.1 MB Notification: Performance of Templates: time 0.005557/0.3188, allocations: 2.293 MB / 0.5734 GB, free: 7.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.854857208003523]