Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 55.91 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.09075, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004062/0.09482, allocations: 2.713 MB / 421.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.09602, allocations: 0.67 MB / 422.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.09613, allocations: 4 kB / 422.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.09627, allocations: 43.56 kB / 422.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.09643, allocations: 87.27 kB / 422.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.09671, allocations: 95.8 kB / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.09713, allocations: 354.6 kB / 422.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.0973, allocations: 64.7 kB / 423 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.09752, allocations: 143.5 kB / 423.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.09774, allocations: 163.4 kB / 423.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.09783, allocations: 35.94 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.09788, allocations: 32 kB / 423.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.09795, allocations: 63.81 kB / 423.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.09812, allocations: 151.3 kB / 423.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.0985, allocations: 342.6 kB / 423.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09851, allocations: 0 / 423.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09851, allocations: 0 / 423.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.09852, allocations: 0 / 423.9 MB, free: 7.156 MB / 350.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.001521/0.1, allocations: 0.6507 MB / 424.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1001, allocations: 11.97 kB / 424.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1001, allocations: 32.75 kB / 424.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.1005, allocations: 260.8 kB / 424.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1005, allocations: 20.8 kB / 424.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.1006, allocations: 16.38 kB / 424.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.1013, allocations: 306.9 kB / 425.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1013, allocations: 3.984 kB / 425.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.1013, allocations: 8 kB / 425.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1013, allocations: 4 kB / 425.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.1022, allocations: 273.5 kB / 425.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1039, allocations: 1.07 MB / 426.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.1058, allocations: 430.2 kB / 426.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.1062, allocations: 128.8 kB / 427.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1062, allocations: 4 kB / 427.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1062, allocations: 38.56 kB / 427.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1063, allocations: 0 / 427.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004883/0.1111, allocations: 1.022 MB / 428.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1112, allocations: 55.41 kB / 428.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1114, allocations: 212.2 kB / 428.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1114, allocations: 29.7 kB / 428.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1116, allocations: 156.3 kB / 428.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.1116, allocations: 63.5 kB / 428.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.1117, allocations: 33.7 kB / 428.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1119, allocations: 330.8 kB / 429 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.1122, allocations: 103.9 kB / 429.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1126, allocations: 125.6 kB / 429.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.1133, allocations: 231.6 kB / 429.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1133, allocations: 0 / 429.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002926/0.1162, allocations: 0.6307 MB / 430.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1162, allocations: 8 kB / 430.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1162, allocations: 0 / 430.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007506/0.117, allocations: 220.7 kB / 430.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1172, allocations: 31.97 kB / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.1242, allocations: 2.758 MB / 433.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.1245, allocations: 35.81 kB / 433.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1245, allocations: 7.984 kB / 433.1 MB, free: 13.46 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.0001735/0.1247, allocations: 138.4 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.1248, allocations: 15.91 kB / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.1248, allocations: 29.52 kB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1248, allocations: 0 / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1248, allocations: 0 / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1248, allocations: 0 / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1253, allocations: 337.1 kB / 433.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1253, allocations: 0 / 433.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.1254, allocations: 27.98 kB / 433.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000675/0.1261, allocations: 224.6 kB / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1261, allocations: 8 kB / 433.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.133, allocations: 2.727 MB / 436.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.133, allocations: 4.031 kB / 436.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.1363, allocations: 0.8434 MB / 437.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1364, allocations: 97.08 kB / 437.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1364, allocations: 11.98 kB / 437.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.1367, allocations: 31.91 kB / 437.6 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1367, allocations: 11.98 kB / 437.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1368, allocations: 4 kB / 437.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1369, allocations: 165.9 kB / 437.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1369, allocations: 0 / 437.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.1374, allocations: 75.89 kB / 437.9 MB, free: 8.492 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.000146/0.1375, allocations: 107.2 kB / 438 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1391, allocations: 438.3 kB / 438.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1391, allocations: 0 / 438.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.1402, allocations: 334 kB / 438.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1406, allocations: 35.12 kB / 438.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.142, allocations: 0.5848 MB / 439.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1424, allocations: 0.7476 MB / 440.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.1424, allocations: 19.44 kB / 440.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1424, allocations: 3.938 kB / 440.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of Templates: time 0.006494/0.1489, allocations: 4.1 MB / 444.2 MB, free: 2.059 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.039206838933751]