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.001338/0.001338, allocations: 72.08 kB / 21.24 MB, free: 396 kB / 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.001431/0.001431, allocations: 158 kB / 24.49 MB, free: 3.457 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.401/1.401, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] 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.001584/0.001584, allocations: 48.47 kB / 319.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09225, allocations: 52.16 MB / 371.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004032/0.09628, allocations: 2.532 MB / 374.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.09746, allocations: 0.6311 MB / 374.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.09758, allocations: 11.94 kB / 374.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.09773, allocations: 47.56 kB / 374.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.09788, allocations: 71.28 kB / 374.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.09818, allocations: 103.8 kB / 375 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.09867, allocations: 366.5 kB / 375.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.09884, allocations: 60.91 kB / 375.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.09905, allocations: 143.5 kB / 375.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.09927, allocations: 135.4 kB / 375.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.09934, allocations: 35.98 kB / 375.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.09939, allocations: 28 kB / 375.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.09947, allocations: 71.75 kB / 375.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.09963, allocations: 131.4 kB / 375.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.1, allocations: 346.6 kB / 376.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1, allocations: 4 kB / 376.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1, allocations: 0 / 376.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1, allocations: 0 / 376.3 MB, free: 2.781 MB / 334.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.001549/0.1016, allocations: 0.5716 MB / 376.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1016, allocations: 12.92 kB / 376.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.1017, allocations: 28.75 kB / 376.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.102, allocations: 207 kB / 377.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.102, allocations: 12.88 kB / 377.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1021, allocations: 20.38 kB / 377.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.1028, allocations: 359.2 kB / 377.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1028, allocations: 0 / 377.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1029, allocations: 4 kB / 377.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1029, allocations: 8 kB / 377.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.1037, allocations: 265.8 kB / 377.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.1054, allocations: 0.9272 MB / 378.7 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.1075, allocations: 422.3 kB / 379.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.1079, allocations: 136.7 kB / 379.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1079, allocations: 8 kB / 379.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.108, allocations: 34.56 kB / 379.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.108, allocations: 0 / 379.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005128/0.1131, allocations: 0.9505 MB / 380.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1131, allocations: 51.41 kB / 380.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1134, allocations: 211 kB / 380.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1134, allocations: 29.7 kB / 380.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1135, allocations: 160.3 kB / 380.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.1136, allocations: 55.53 kB / 380.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.1137, allocations: 37.69 kB / 380.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1138, allocations: 334.8 kB / 381 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.1142, allocations: 103.9 kB / 381.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.1146, allocations: 129.6 kB / 381.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.1153, allocations: 228.8 kB / 381.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1153, allocations: 0 / 381.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002999/0.1183, allocations: 0.6307 MB / 382.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1183, allocations: 11.94 kB / 382.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1183, allocations: 4 kB / 382.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/0.1191, allocations: 212.7 kB / 382.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1193, allocations: 31.98 kB / 382.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007102/0.1264, allocations: 2.597 MB / 385 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.1266, allocations: 35.88 kB / 385 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.1267, allocations: 7.984 kB / 385 MB, free: 9.664 MB / 350.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.0001683/0.1268, allocations: 129.8 kB / 385.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1269, allocations: 19.84 kB / 385.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.1269, allocations: 33.52 kB / 385.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1269, allocations: 0 / 385.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1269, allocations: 0 / 385.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1269, allocations: 3.938 kB / 385.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1273, allocations: 221.2 kB / 385.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1273, allocations: 0 / 385.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1275, allocations: 27.98 kB / 385.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/0.1281, allocations: 220.6 kB / 385.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1281, allocations: 11.98 kB / 385.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006694/0.1348, allocations: 2.578 MB / 388.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1348, allocations: 3.938 kB / 388.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.1381, allocations: 0.8473 MB / 389.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.1381, allocations: 19.88 kB / 389.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1382, allocations: 4 kB / 389.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.1385, allocations: 32.03 kB / 389.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.1385, allocations: 15.97 kB / 389.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1385, allocations: 7.938 kB / 389.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1387, allocations: 144.6 kB / 389.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 4 kB / 389.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.1391, allocations: 75.89 kB / 389.4 MB, free: 5.113 MB / 350.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.0001316/0.1392, allocations: 115.1 kB / 389.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.1408, allocations: 442.2 kB / 389.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1408, allocations: 4.062 kB / 390 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.1419, allocations: 318.5 kB / 390.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1422, allocations: 27.98 kB / 390.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1435, allocations: 0.5567 MB / 390.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.1437, allocations: 137.8 kB / 391 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1437, allocations: 9.484 kB / 391 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.1438, allocations: 20.5 kB / 391 MB, free: 3.426 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1438, allocations: 0 / 391 MB, free: 3.426 MB / 350.1 MB Notification: Performance of Templates: time 0.008961/0.1527, allocations: 4.662 MB / 395.7 MB, free: 14.77 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.513473156024702]