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.001748/0.001748, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00216/0.00216, allocations: 210.7 kB / 24.48 MB, free: 3.941 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.53/1.53, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2269/0.2269, allocations: 46.98 MB / 361.6 MB, free: 4.039 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.002023/0.002023, allocations: 67.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003293/0.3161, allocations: 1.855 MB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3172, allocations: 0.5504 MB / 0.5642 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.3173, allocations: 3.938 kB / 0.5642 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.3173, allocations: 15.84 kB / 0.5642 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.3175, allocations: 47.64 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3178, allocations: 86.94 kB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.318, allocations: 147.4 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3181, allocations: 28.94 kB / 0.5645 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3183, allocations: 71.78 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3184, allocations: 71.73 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.3185, allocations: 12 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.3185, allocations: 16 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.3186, allocations: 35.84 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.3186, allocations: 47.8 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3188, allocations: 154.1 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3188, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3188, allocations: 0 / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3188, 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.0008847/0.3197, allocations: 373.8 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3198, allocations: 12.03 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.3201, allocations: 40.81 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3203, allocations: 130.4 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3203, allocations: 8.375 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.3203, allocations: 12.38 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.3207, allocations: 194.5 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3207, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3207, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3207, allocations: 7.984 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.3211, allocations: 99.86 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.322, allocations: 371.1 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.3223, allocations: 90.52 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3225, allocations: 40.92 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3225, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3226, allocations: 34.56 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3226, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001523/0.3241, allocations: 321.1 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.3242, allocations: 106.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3243, allocations: 155.9 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3244, allocations: 33.7 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.3245, allocations: 108.2 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3245, allocations: 19.86 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.3246, allocations: 25.7 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3247, allocations: 322.8 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.325, allocations: 63.89 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.3253, allocations: 143.6 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3257, allocations: 138.5 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3257, allocations: 0 / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006021/0.3263, allocations: 185.5 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3263, allocations: 4 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3263, allocations: 0 / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3264, allocations: 3.938 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.3271, allocations: 87.97 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.3286, allocations: 1.362 MB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.3288, allocations: 32.12 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3289, allocations: 4 kB / 0.5692 GB, free: 12.23 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.00012/0.329, allocations: 129.7 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.329, allocations: 7.953 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.3296, allocations: 166.6 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3296, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3296, allocations: 3.984 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3296, allocations: 192 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.3304, allocations: 398.2 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3304, allocations: 3.938 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3306, allocations: 27.97 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3306, allocations: 0 / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3306, allocations: 4 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3306, allocations: 4.078 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3306, allocations: 7.984 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.3312, allocations: 251.3 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.3312, allocations: 11.89 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.3312, allocations: 0 / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3315, allocations: 27.97 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.3315, allocations: 7.984 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3315, allocations: 4 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.705e-05/0.3316, allocations: 107.2 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3316, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000286/0.3319, allocations: 35.94 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.332, allocations: 91.25 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009832/0.333, allocations: 171.8 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.333, allocations: 8.125 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.3332, allocations: 59.94 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3336, allocations: 12 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3351, allocations: 392.3 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.1e-05/0.3351, allocations: 80.83 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.3352, allocations: 16.42 kB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3353, allocations: 11.44 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3353, allocations: 4 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of Templates: time 0.005244/0.3405, allocations: 1.975 MB / 0.5731 GB, free: 8.133 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 -s gbode -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.990298716991674]