Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.001712/0.001712, allocations: 75.73 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.001813/0.001813, allocations: 169 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.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 8.926 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 50.81 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09952, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.005552/0.1051, allocations: 2.542 MB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1071, allocations: 0.6895 MB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.1073, allocations: 11.94 kB / 382.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1076, allocations: 47.56 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1078, allocations: 71.28 kB / 382.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1083, allocations: 115.8 kB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.1089, allocations: 362.5 kB / 382.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.1091, allocations: 64.83 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.1095, allocations: 151.5 kB / 382.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.1098, allocations: 143.3 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.1099, allocations: 32 kB / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.11, allocations: 32 kB / 383.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.1101, allocations: 71.75 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.1103, allocations: 127.4 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.1109, allocations: 346.7 kB / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1109, allocations: 0 / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1109, allocations: 0 / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1109, allocations: 0 / 383.7 MB, free: 10.86 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.002089/0.113, allocations: 0.5833 MB / 384.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.113, allocations: 8.031 kB / 384.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.1132, allocations: 40.73 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.1137, allocations: 203 kB / 384.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1138, allocations: 16.88 kB / 384.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.1138, allocations: 16.38 kB / 384.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.1148, allocations: 363.2 kB / 384.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1148, allocations: 3.938 kB / 384.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.1149, allocations: 8 kB / 384.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1149, allocations: 4 kB / 384.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.116, allocations: 273.8 kB / 385.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.1184, allocations: 0.9156 MB / 386.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.1211, allocations: 426.3 kB / 386.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.1217, allocations: 140.8 kB / 386.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1218, allocations: 256 / 386.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1218, allocations: 38.55 kB / 386.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1218, allocations: 0 / 386.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005376/0.1272, allocations: 0.9467 MB / 387.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1272, allocations: 55.41 kB / 387.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1274, allocations: 203.2 kB / 387.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1275, allocations: 29.7 kB / 387.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1276, allocations: 168.3 kB / 388.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.1277, allocations: 51.59 kB / 388.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.1277, allocations: 37.69 kB / 388.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1279, allocations: 326.8 kB / 388.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.1283, allocations: 107.9 kB / 388.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.1286, allocations: 132 kB / 388.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.1294, allocations: 233.4 kB / 389 MB, free: 5.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1294, allocations: 0 / 389 MB, free: 5.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00301/0.1324, allocations: 0.6336 MB / 389.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1324, allocations: 4 kB / 389.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1324, allocations: 3.984 kB / 389.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.1332, allocations: 216.7 kB / 389.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1333, allocations: 39.97 kB / 389.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/0.1405, allocations: 2.589 MB / 392.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1408, allocations: 31.91 kB / 392.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1408, allocations: 8 kB / 392.5 MB, free: 1.727 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.0001528/0.1409, allocations: 129.8 kB / 392.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.141, allocations: 31.86 kB / 392.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.1411, allocations: 21.45 kB / 392.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1411, allocations: 0 / 392.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1411, allocations: 0 / 392.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1411, allocations: 0 / 392.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.1414, allocations: 237 kB / 392.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1414, allocations: 0 / 392.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1416, allocations: 35.97 kB / 392.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006945/0.1423, allocations: 220.6 kB / 393.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1423, allocations: 11.92 kB / 393.1 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006997/0.1493, allocations: 2.574 MB / 395.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1493, allocations: 7.969 kB / 395.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.1527, allocations: 0.8316 MB / 396.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1528, allocations: 27.77 kB / 396.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1528, allocations: 0 / 396.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.1531, allocations: 40.03 kB / 396.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1532, allocations: 7.922 kB / 396.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.1532, allocations: 11.98 kB / 396.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1533, allocations: 152.6 kB / 396.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1533, allocations: 3.938 kB / 396.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00047/0.1538, allocations: 79.89 kB / 396.9 MB, free: 13.15 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.0001957/0.154, allocations: 99.25 kB / 397 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.1557, allocations: 446.3 kB / 397.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1557, allocations: 0 / 397.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.1568, allocations: 322.6 kB / 397.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1571, allocations: 31.84 kB / 397.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1586, allocations: 0.5578 MB / 398.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1587, allocations: 133.8 kB / 398.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.1588, allocations: 13.48 kB / 398.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.1589, allocations: 20.44 kB / 398.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1589, allocations: 0 / 398.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.009804/0.1687, allocations: 4.681 MB / 403.2 MB, free: 6.785 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.525696591939777]