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.001118/0.001118, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001182/0.001182, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.666/1.666, allocations: 205.1 MB / 224 MB, free: 12.43 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.001068/0.001068, allocations: 51.92 kB / 280.2 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1096, allocations: 46.63 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00373/0.1134, allocations: 2.706 MB / 329.5 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1147, allocations: 0.7021 MB / 330.2 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1148, allocations: 4 kB / 330.2 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.115, allocations: 35.7 kB / 330.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1152, allocations: 67.45 kB / 330.3 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1154, allocations: 91.83 kB / 330.4 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.1158, allocations: 354.6 kB / 330.7 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.116, allocations: 84.7 kB / 330.8 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1162, allocations: 147.5 kB / 331 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1165, allocations: 155.4 kB / 331.1 MB, free: 448 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.1165, allocations: 32 kB / 331.1 MB, free: 416 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-05/0.1166, allocations: 36 kB / 331.2 MB, free: 380 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.1167, allocations: 67.73 kB / 331.2 MB, free: 312 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1169, allocations: 143.4 kB / 331.4 MB, free: 168 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1172, allocations: 335.1 kB / 331.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1172, allocations: 4 kB / 331.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1172, allocations: 0 / 331.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1173, allocations: 0 / 331.7 MB, free: 15.83 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.001483/0.1188, allocations: 0.6471 MB / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1188, allocations: 8.031 kB / 332.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.1189, allocations: 36.56 kB / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1192, allocations: 256.7 kB / 332.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1192, allocations: 16.81 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.1193, allocations: 20.31 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.12, allocations: 302.9 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.12, allocations: 0 / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.12, allocations: 4 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1201, allocations: 8 kB / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/0.1209, allocations: 273.5 kB / 333.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.1227, allocations: 1.073 MB / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.1247, allocations: 434.3 kB / 334.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.1251, allocations: 148.8 kB / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1251, allocations: 4 kB / 334.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1252, allocations: 30.56 kB / 334.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1252, allocations: 0 / 334.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.005079/0.1303, allocations: 1.03 MB / 336 MB, free: 11.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1303, allocations: 51.41 kB / 336 MB, free: 11.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1306, allocations: 224.1 kB / 336.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1306, allocations: 29.7 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1307, allocations: 156.1 kB / 336.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.1308, allocations: 47.27 kB / 336.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.1309, allocations: 37.69 kB / 336.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.131, allocations: 330.8 kB / 336.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.1314, allocations: 107.9 kB / 336.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1317, allocations: 125.6 kB / 337.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.1324, allocations: 224.7 kB / 337.3 MB, free: 9.977 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1324, allocations: 0 / 337.3 MB, free: 9.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002885/0.1353, allocations: 0.6383 MB / 337.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1353, allocations: 4 kB / 337.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1353, allocations: 0 / 337.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007372/0.1361, allocations: 220.7 kB / 338.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1363, allocations: 35.92 kB / 338.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.1434, allocations: 2.751 MB / 340.9 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.1437, allocations: 31.89 kB / 340.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1437, allocations: 7.984 kB / 341 MB, free: 6.141 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.0001721/0.1439, allocations: 149.6 kB / 341.1 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.144, allocations: 23.81 kB / 341.1 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.144, allocations: 33.5 kB / 341.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.144, allocations: 0 / 341.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.144, allocations: 0 / 341.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1441, allocations: 0 / 341.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.1444, allocations: 325.4 kB / 341.5 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1445, allocations: 0 / 341.5 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.1446, allocations: 31.92 kB / 341.5 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/0.1452, allocations: 216.7 kB / 341.7 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.1453, allocations: 7.984 kB / 341.7 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.1521, allocations: 2.727 MB / 344.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1521, allocations: 0 / 344.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.1556, allocations: 0.8549 MB / 345.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.1557, allocations: 96.88 kB / 345.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.1557, allocations: 4 kB / 345.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.156, allocations: 31.97 kB / 345.4 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1561, allocations: 7.984 kB / 345.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1561, allocations: 8.062 kB / 345.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.1562, allocations: 161.6 kB / 345.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1563, allocations: 0 / 345.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.1567, allocations: 83.84 kB / 345.7 MB, free: 1.16 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.0001321/0.1569, allocations: 95.25 kB / 345.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.1584, allocations: 458.2 kB / 346.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1585, allocations: 0 / 346.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.1595, allocations: 334.5 kB / 346.6 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1599, allocations: 39.94 kB / 346.6 MB, free: 224 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1615, allocations: 0.6343 MB / 347.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1619, allocations: 0.7476 MB / 348 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.786e-05/0.162, allocations: 17.53 kB / 348 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.162, allocations: 19.44 kB / 348 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.162, allocations: 0 / 348 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.009687/0.1717, allocations: 4.893 MB / 352.9 MB, free: 9.855 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches