Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001394/0.001394, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001706/0.001706, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 32.81 MB / 294.1 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 67.89 kB / 440.5 MB, free: 9.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3514, allocations: 65.45 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002613/0.3541, allocations: 1.859 MB / 0.496 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008336/0.3549, allocations: 0.5565 MB / 0.4965 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.355, allocations: 0 / 0.4965 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.355, allocations: 11.25 kB / 0.4965 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.3552, allocations: 40.72 kB / 0.4965 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3554, allocations: 82.05 kB / 0.4966 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3556, allocations: 149 kB / 0.4968 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3557, allocations: 26.09 kB / 0.4968 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3559, allocations: 85.56 kB / 0.4969 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.356, allocations: 56.38 kB / 0.4969 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.356, allocations: 12.69 kB / 0.4969 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.356, allocations: 19.72 kB / 0.497 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3561, allocations: 29.91 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.3561, allocations: 61.42 kB / 0.497 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3563, allocations: 142.9 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3563, allocations: 0 / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3563, allocations: 0 / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3563, allocations: 0 / 0.4972 GB, free: 29.43 MB / 446.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.0006613/0.357, allocations: 377.2 kB / 0.4975 GB, free: 29.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.357, allocations: 9.562 kB / 0.4975 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.3573, allocations: 53.77 kB / 0.4976 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3574, allocations: 129.2 kB / 0.4977 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3574, allocations: 7.625 kB / 0.4977 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3574, allocations: 6.953 kB / 0.4977 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.3577, allocations: 189.1 kB / 0.4979 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3577, allocations: 0 / 0.4979 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3578, allocations: 3.25 kB / 0.4979 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3578, allocations: 0 / 0.4979 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.3581, allocations: 97.59 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.3587, allocations: 374.6 kB / 0.4984 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.359, allocations: 90.66 kB / 0.4985 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3591, allocations: 39.41 kB / 0.4985 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.3591, allocations: 3.984 kB / 0.4985 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.3592, allocations: 37.19 kB / 0.4985 GB, free: 28.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3592, allocations: 4 kB / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001256/0.3604, allocations: 310.1 kB / 0.4988 GB, free: 28.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3605, allocations: 102.8 kB / 0.4989 GB, free: 28.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3606, allocations: 161.2 kB / 0.4991 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3606, allocations: 25.7 kB / 0.4991 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3606, allocations: 117.8 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3606, allocations: 22.36 kB / 0.4992 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3607, allocations: 26.22 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.3607, allocations: 318.4 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3609, allocations: 59.58 kB / 0.4996 GB, free: 27.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3612, allocations: 158 kB / 0.4998 GB, free: 27.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.3616, allocations: 123.2 kB / 0.4999 GB, free: 27.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3616, allocations: 7.344 kB / 0.4999 GB, free: 27.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004628/0.362, allocations: 175.5 kB / 0.5001 GB, free: 27.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.362, allocations: 9.688 kB / 0.5001 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.362, allocations: 0 / 0.5001 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3621, allocations: 11.94 kB / 0.5001 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.3626, allocations: 92.86 kB / 0.5002 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.3637, allocations: 1.369 MB / 0.5015 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3639, allocations: 26.42 kB / 0.5015 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3639, allocations: 6.562 kB / 0.5016 GB, free: 25.91 MB / 446.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 7.755e-05/0.364, allocations: 124.7 kB / 0.5017 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.364, allocations: 10.86 kB / 0.5017 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.3645, allocations: 167 kB / 0.5018 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3645, allocations: 3.031 kB / 0.5018 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.3645, allocations: 64 / 0.5018 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.3645, allocations: 4 kB / 0.5018 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.3651, allocations: 393.6 kB / 0.5022 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3651, allocations: 3 kB / 0.5022 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3653, allocations: 30.16 kB / 0.5023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3653, allocations: 0 / 0.5023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3653, allocations: 0 / 0.5023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3653, allocations: 0 / 0.5023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3653, allocations: 0 / 0.5023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.3657, allocations: 255.8 kB / 0.5025 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3658, allocations: 11.14 kB / 0.5025 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3658, allocations: 3.156 kB / 0.5025 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.366, allocations: 26.53 kB / 0.5025 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.366, allocations: 10.66 kB / 0.5025 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.366, allocations: 3.188 kB / 0.5025 GB, free: 25.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.3661, allocations: 111.6 kB / 0.5027 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3661, allocations: 0 / 0.5027 GB, free: 25.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3663, allocations: 37.09 kB / 0.5027 GB, free: 25.13 MB / 446.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 6.164e-05/0.3664, allocations: 102.8 kB / 0.5028 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008102/0.3672, allocations: 176.3 kB / 0.503 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3672, allocations: 0 / 0.503 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3674, allocations: 61.08 kB / 0.503 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3677, allocations: 9.75 kB / 0.503 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3689, allocations: 383.2 kB / 0.5034 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.3689, allocations: 97.22 kB / 0.5035 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.369, allocations: 13.67 kB / 0.5035 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.3691, allocations: 11.75 kB / 0.5035 GB, free: 24.7 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3691, allocations: 7.281 kB / 0.5035 GB, free: 24.7 MB / 446.1 MB Notification: Performance of Templates: time 0.004311/0.3734, allocations: 1.859 MB / 0.5053 GB, free: 24.45 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.073538402910344]