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.001329/0.001329, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001402/0.001402, allocations: 211.5 kB / 24.48 MB, free: 3.973 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.557/1.557, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.252/0.252, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.002228/0.002228, allocations: 67.84 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3467, 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.003606/0.3503, allocations: 1.859 MB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3514, allocations: 0.5504 MB / 0.5642 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.3515, allocations: 0 / 0.5642 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.381e-05/0.3516, allocations: 19.84 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.3518, allocations: 31.72 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.3521, allocations: 91.73 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.3523, allocations: 155.4 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3524, allocations: 27.97 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.3526, allocations: 79.7 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3528, allocations: 63.75 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3528, allocations: 12 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.3528, allocations: 23.98 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.3529, allocations: 27.91 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.353, allocations: 55.73 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3532, allocations: 143.1 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3532, allocations: 0 / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3532, allocations: 0 / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3532, allocations: 0 / 0.5648 GB, free: 1.035 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.0008379/0.3541, allocations: 377.8 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3541, allocations: 8.031 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.3544, allocations: 44.81 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.3546, allocations: 140.8 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3546, allocations: 12.31 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3547, allocations: 4.375 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.355, allocations: 187.9 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3551, allocations: 0 / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3551, allocations: 4 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3551, allocations: 0 / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.3554, allocations: 95.92 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/0.3563, allocations: 367.2 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3566, allocations: 94.45 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3568, allocations: 40.92 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3568, allocations: 4 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3569, allocations: 30.56 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 3.217e-06/0.3569, allocations: 7.984 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001546/0.3584, allocations: 317 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.3585, allocations: 102.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3587, allocations: 164.2 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3587, allocations: 25.7 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.3588, allocations: 116.2 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3588, allocations: 23.8 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3589, allocations: 25.7 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.359, allocations: 322.8 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3593, allocations: 55.95 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.3596, allocations: 151.6 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.36, allocations: 134.5 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.36, allocations: 4.031 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005153/0.3605, allocations: 169.5 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3605, allocations: 7.984 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3605, allocations: 64 / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3606, allocations: 11.94 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.3612, allocations: 91.84 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.363, allocations: 1.366 MB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.3632, allocations: 31.91 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3633, allocations: 0 / 0.5692 GB, free: 12.21 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.0001242/0.3634, allocations: 125.8 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.3634, allocations: 7.953 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.3639, allocations: 174.3 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3639, allocations: 192 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.3639, allocations: 0 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3639, allocations: 3.938 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.3647, allocations: 398 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3647, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3649, allocations: 27.97 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.3649, allocations: 4 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3649, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3649, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3649, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.3655, allocations: 251.4 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.3655, allocations: 11.95 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3655, allocations: 0 / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3657, allocations: 23.97 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3658, allocations: 7.922 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3658, allocations: 11.94 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.3659, allocations: 111.2 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3659, allocations: 0 / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3662, allocations: 35.94 kB / 0.5704 GB, free: 10.97 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.0001103/0.3663, allocations: 96.16 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009136/0.3672, allocations: 167.9 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3672, allocations: 4 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.3674, allocations: 59.94 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3678, allocations: 18.8 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3692, allocations: 410.5 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.3693, allocations: 88.83 kB / 0.5712 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.3694, allocations: 19.42 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3694, allocations: 0 / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of Templates: time 0.004359/0.3738, allocations: 1.891 MB / 0.573 GB, free: 8.172 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: 7.644175961992005]