Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001038, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 225 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 51.92 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 46.62 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004244/0.1112, allocations: 2.669 MB / 330.6 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1126, allocations: 0.7021 MB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1127, allocations: 4 kB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1129, allocations: 43.58 kB / 331.4 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1131, allocations: 79.27 kB / 331.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1134, allocations: 99.8 kB / 331.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.1137, allocations: 358.5 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1139, allocations: 88.7 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1141, allocations: 139.5 kB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1143, allocations: 159.4 kB / 332.3 MB, free: 116 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.1144, allocations: 28 kB / 332.3 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.1144, allocations: 32 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.1145, allocations: 71.81 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1147, allocations: 151.2 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.115, allocations: 343 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.115, allocations: 0 / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.115, allocations: 0 / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.115, allocations: 4 kB / 332.9 MB, free: 15.5 MB / 286.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.001512/0.1165, allocations: 0.6354 MB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1166, allocations: 12.03 kB / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.1167, allocations: 28.56 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.117, allocations: 256.8 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.117, allocations: 12.81 kB / 333.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.1171, allocations: 20.38 kB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.1178, allocations: 306.9 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1178, allocations: 0 / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1178, allocations: 8 kB / 334.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1178, allocations: 8 kB / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.1186, allocations: 265.6 kB / 334.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1203, allocations: 1.073 MB / 335.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.1222, allocations: 442.3 kB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.1227, allocations: 148.7 kB / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1227, allocations: 0 / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1227, allocations: 38.56 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1227, allocations: 0 / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.004935/0.1277, allocations: 1.026 MB / 337.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1277, allocations: 51.41 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.128, allocations: 216.1 kB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.128, allocations: 29.7 kB / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1281, allocations: 164.1 kB / 337.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.1282, allocations: 47.27 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.1283, allocations: 37.7 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1284, allocations: 330.8 kB / 338 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.1288, allocations: 107.9 kB / 338.1 MB, free: 10 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1292, allocations: 125.6 kB / 338.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.1298, allocations: 224.8 kB / 338.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1299, allocations: 4 kB / 338.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002874/0.1327, allocations: 0.6305 MB / 339.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.1328, allocations: 8 kB / 339.1 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1328, allocations: 0 / 339.1 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/0.1336, allocations: 216.7 kB / 339.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1338, allocations: 43.91 kB / 339.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/0.1409, allocations: 2.743 MB / 342.1 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.1413, allocations: 35.97 kB / 342.1 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1413, allocations: 8.094 kB / 342.1 MB, free: 5.816 MB / 286.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.0001756/0.1415, allocations: 157.5 kB / 342.3 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1415, allocations: 19.72 kB / 342.3 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.1416, allocations: 21.47 kB / 342.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1416, allocations: 4 kB / 342.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1416, allocations: 0 / 342.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1416, allocations: 3.984 kB / 342.3 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.142, allocations: 325.4 kB / 342.6 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.142, allocations: 3.984 kB / 342.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.1422, allocations: 23.98 kB / 342.7 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.1428, allocations: 220.7 kB / 342.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1429, allocations: 3.984 kB / 342.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.1496, allocations: 2.735 MB / 345.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1496, allocations: 0 / 345.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.1528, allocations: 0.852 MB / 346.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.1529, allocations: 96.89 kB / 346.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.153, allocations: 7.984 kB / 346.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.1533, allocations: 32.05 kB / 346.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1533, allocations: 7.984 kB / 346.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1534, allocations: 7.984 kB / 346.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1535, allocations: 161.6 kB / 346.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1535, allocations: 0 / 346.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.154, allocations: 75.84 kB / 346.9 MB, free: 0.8398 MB / 286.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.0001383/0.1541, allocations: 115.3 kB / 347 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.1557, allocations: 454.2 kB / 347.4 MB, free: 264 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1557, allocations: 4 kB / 347.4 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.1568, allocations: 326.5 kB / 347.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1572, allocations: 36.56 kB / 347.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1585, allocations: 0.5852 MB / 348.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1589, allocations: 0.7437 MB / 349.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.159, allocations: 23.44 kB / 349.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.159, allocations: 0 / 349.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Templates: time 0.005954/0.1649, allocations: 4.085 MB / 353.2 MB, free: 10.39 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches