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.001438/0.001438, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001509/0.001509, allocations: 215.9 kB / 23.73 MB, free: 4.16 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 / 257.5 MB, free: 7.801 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.2396/0.2396, allocations: 46.96 MB / 360.9 MB, free: 3.992 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.002098/0.002098, allocations: 67.84 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 66.04 MB / 0.5611 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00342/0.3613, allocations: 1.843 MB / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3624, allocations: 0.5543 MB / 0.5634 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.3625, allocations: 0 / 0.5634 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.3625, allocations: 11.86 kB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.3628, allocations: 51.62 kB / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.3631, allocations: 83.77 kB / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.3633, allocations: 151.4 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3634, allocations: 23.97 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.3636, allocations: 83.69 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3638, allocations: 55.7 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.3638, allocations: 12 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.3639, allocations: 23.94 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.3639, allocations: 31.89 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.364, allocations: 55.78 kB / 0.564 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.3642, allocations: 143.1 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3642, allocations: 0 / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3642, allocations: 0 / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3642, allocations: 0 / 0.5641 GB, free: 0.9844 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.0008539/0.3651, allocations: 373.8 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3651, allocations: 12.03 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.3654, allocations: 40.81 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3656, allocations: 134.4 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3656, allocations: 8.359 kB / 0.5647 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3657, allocations: 8.375 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.3661, allocations: 194.4 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3661, allocations: 0 / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3661, allocations: 7.938 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3661, allocations: 4 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.3664, allocations: 95.92 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.3673, allocations: 371.1 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.3676, allocations: 86.53 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3678, allocations: 44.92 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3678, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.3678, allocations: 34.56 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3678, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001409/0.3693, allocations: 317.1 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.3693, allocations: 102.8 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3695, allocations: 157.5 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3695, allocations: 29.7 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.3696, allocations: 112.2 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3696, allocations: 19.86 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.3697, allocations: 29.64 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3698, allocations: 322.8 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.3701, allocations: 63.94 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3703, allocations: 143.6 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.3708, allocations: 134.5 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3708, allocations: 0 / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005257/0.3713, allocations: 181.7 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3713, allocations: 7.938 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3713, allocations: 3.938 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3714, allocations: 3.938 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.3719, allocations: 87.97 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3735, allocations: 1.366 MB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.3737, allocations: 36.12 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3738, allocations: 4 kB / 0.5685 GB, free: 12.16 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.0001374/0.3739, allocations: 133.7 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3739, allocations: 7.953 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.3745, allocations: 162.3 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3745, allocations: 0 / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.3745, allocations: 0 / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3745, allocations: 0 / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.3753, allocations: 394 kB / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3753, allocations: 0 / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3754, allocations: 27.97 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3754, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3754, allocations: 4.062 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3755, allocations: 4.234 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3755, allocations: 3.984 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.376, allocations: 259.3 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.376, allocations: 11.94 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.376, allocations: 4 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3763, allocations: 27.97 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3763, allocations: 0 / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3763, allocations: 7.984 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.3764, allocations: 109.7 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 0 / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.3767, allocations: 35.94 kB / 0.5696 GB, free: 10.92 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.000105/0.3768, allocations: 91.25 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008851/0.3777, allocations: 175.8 kB / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3777, allocations: 4 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3779, allocations: 63.95 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3783, allocations: 18.81 kB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3796, allocations: 376.9 kB / 0.5703 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.3797, allocations: 84.81 kB / 0.5704 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.3798, allocations: 12.44 kB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.3799, allocations: 15.42 kB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3799, allocations: 4 kB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005349/0.3852, allocations: 1.951 MB / 0.5723 GB, free: 8.102 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/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: 5.310227032750845]