Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 116.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002248/0.002248, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.88 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004108/0.1151, allocations: 2.734 MB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1164, allocations: 0.7012 MB / 430.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1165, allocations: 7.938 kB / 430.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1166, allocations: 51.56 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1168, allocations: 83.27 kB / 430.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1171, allocations: 111.7 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1175, allocations: 366.5 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1177, allocations: 60.7 kB / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.118, allocations: 143.5 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1182, allocations: 171.3 kB / 431.6 MB, free: 36 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1182, allocations: 32 kB / 431.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.1183, allocations: 32.05 kB / 431.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.1184, allocations: 67.7 kB / 431.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1186, allocations: 151.3 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.119, allocations: 346.6 kB / 432.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.119, allocations: 0 / 432.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.119, allocations: 0 / 432.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.119, allocations: 0 / 432.2 MB, free: 15.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001551/0.1205, allocations: 0.6585 MB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1206, allocations: 8.031 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.1208, allocations: 40.73 kB / 432.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.1212, allocations: 264.9 kB / 433.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1212, allocations: 12.81 kB / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1212, allocations: 20.38 kB / 433.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.1219, allocations: 302.9 kB / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.122, allocations: 0 / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.122, allocations: 8 kB / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.122, allocations: 12 kB / 433.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.1229, allocations: 265.5 kB / 433.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1246, allocations: 1.062 MB / 434.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.1265, allocations: 434.3 kB / 435.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.127, allocations: 136.7 kB / 435.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.127, allocations: 8 kB / 435.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.127, allocations: 34.56 kB / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.586e-06/0.127, allocations: 3.984 kB / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.004993/0.132, allocations: 1.018 MB / 436.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1321, allocations: 51.41 kB / 436.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1323, allocations: 221 kB / 436.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1324, allocations: 33.7 kB / 436.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1325, allocations: 168.2 kB / 436.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.1325, allocations: 43.64 kB / 436.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.1326, allocations: 41.64 kB / 437 MB, free: 10.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1328, allocations: 326.8 kB / 437.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.1332, allocations: 115.9 kB / 437.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.1335, allocations: 125.5 kB / 437.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.1342, allocations: 227.6 kB / 437.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1342, allocations: 4 kB / 437.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002924/0.1372, allocations: 0.6331 MB / 438.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1372, allocations: 4 kB / 438.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1372, allocations: 0 / 438.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/0.1379, allocations: 224.6 kB / 438.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1381, allocations: 31.98 kB / 438.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007171/0.1453, allocations: 2.741 MB / 441.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.1456, allocations: 39.92 kB / 441.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1456, allocations: 11.98 kB / 441.4 MB, free: 5.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.1458, allocations: 133.7 kB / 441.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.1458, allocations: 19.91 kB / 441.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.1459, allocations: 21.84 kB / 441.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1459, allocations: 0 / 441.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1459, allocations: 3.984 kB / 441.6 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1459, allocations: 0 / 441.6 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.1463, allocations: 333.3 kB / 441.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1463, allocations: 4 kB / 442 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1465, allocations: 31.98 kB / 442 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006915/0.1472, allocations: 224.7 kB / 442.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1472, allocations: 3.984 kB / 442.2 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/0.154, allocations: 2.731 MB / 444.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.154, allocations: 4.062 kB / 444.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.1573, allocations: 0.8434 MB / 445.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.1574, allocations: 100.9 kB / 445.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.1574, allocations: 3.984 kB / 445.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1577, allocations: 31.98 kB / 445.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1578, allocations: 12.05 kB / 445.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1578, allocations: 7.984 kB / 445.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.158, allocations: 160.4 kB / 446.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 446.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.1584, allocations: 83.88 kB / 446.2 MB, free: 0.7461 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.1586, allocations: 103.2 kB / 446.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.1602, allocations: 446.3 kB / 446.7 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1602, allocations: 3.938 kB / 446.7 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1863/0.3465, allocations: 318.1 kB / 447 MB, free: 24.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.3469, allocations: 34.64 kB / 447.1 MB, free: 24.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3484, allocations: 0.5628 MB / 447.6 MB, free: 24.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3487, allocations: 0.7449 MB / 448.4 MB, free: 23.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.3487, allocations: 14.27 kB / 448.4 MB, free: 23.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.3488, allocations: 18.38 kB / 448.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3488, allocations: 5.031 kB / 448.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of Templates: time 0.0114/0.3602, allocations: 4.999 MB / 453.4 MB, free: 23.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.987958021461964]