Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 61.56 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.119, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004397/0.1234, allocations: 2.716 MB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1249, allocations: 0.7128 MB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1251, allocations: 4 kB / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1253, allocations: 47.52 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1255, allocations: 75.27 kB / 362.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1259, allocations: 111.8 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.1263, allocations: 362.5 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1265, allocations: 92.69 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1268, allocations: 135.5 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1271, allocations: 163.4 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.1271, allocations: 32 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.1272, allocations: 32 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.1273, allocations: 71.75 kB / 363.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1274, allocations: 159.2 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1278, allocations: 342.9 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1278, allocations: 3.938 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1278, allocations: 0 / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1278, allocations: 0 / 363.9 MB, free: 8.312 MB / 302.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.001582/0.1294, allocations: 0.647 MB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1295, allocations: 8.031 kB / 364.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1297, allocations: 40.64 kB / 364.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.1301, allocations: 268.6 kB / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.1301, allocations: 24.73 kB / 364.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1302, allocations: 16.38 kB / 364.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.1308, allocations: 306.9 kB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1309, allocations: 0 / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1309, allocations: 12 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1309, allocations: 4 kB / 365.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.1317, allocations: 269.6 kB / 365.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1333, allocations: 1.054 MB / 366.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.1353, allocations: 442.3 kB / 367 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.1357, allocations: 140.8 kB / 367.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1358, allocations: 0 / 367.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1358, allocations: 38.56 kB / 367.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.564e-06/0.1358, allocations: 4 kB / 367.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005327/0.1411, allocations: 1.026 MB / 368.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1412, allocations: 51.41 kB / 368.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1415, allocations: 221 kB / 368.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1415, allocations: 25.7 kB / 368.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1416, allocations: 164 kB / 368.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.1417, allocations: 43.36 kB / 368.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.1418, allocations: 41.69 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1419, allocations: 334.8 kB / 369.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.1423, allocations: 107.9 kB / 369.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.1427, allocations: 125.6 kB / 369.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.1434, allocations: 232.3 kB / 369.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1434, allocations: 0 / 369.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003037/0.1464, allocations: 0.6383 MB / 370.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1465, allocations: 4 kB / 370.2 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1465, allocations: 0 / 370.2 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.1473, allocations: 216.7 kB / 370.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1474, allocations: 35.98 kB / 370.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1758/0.3233, allocations: 2.75 MB / 373.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3236, allocations: 33.59 kB / 373.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3237, allocations: 10.5 kB / 373.2 MB, free: 18.91 MB / 302.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.0001559/0.3238, allocations: 132.6 kB / 373.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3239, allocations: 17.19 kB / 373.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.324, allocations: 27.84 kB / 373.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.324, allocations: 2.469 kB / 373.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.324, allocations: 4.562 kB / 373.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.324, allocations: 0.7031 kB / 373.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.3244, allocations: 331.6 kB / 373.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3244, allocations: 0.6094 kB / 373.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3246, allocations: 32.61 kB / 373.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007497/0.3253, allocations: 217.2 kB / 373.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3254, allocations: 7.422 kB / 374 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.3323, allocations: 2.73 MB / 376.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3324, allocations: 1.344 kB / 376.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/0.3359, allocations: 0.8445 MB / 377.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3361, allocations: 98.59 kB / 377.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.3362, allocations: 5.953 kB / 377.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.3365, allocations: 29.5 kB / 377.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.3366, allocations: 16.22 kB / 377.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.3366, allocations: 6.953 kB / 377.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.3369, allocations: 162.2 kB / 377.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3369, allocations: 0 / 377.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006676/0.3376, allocations: 81.89 kB / 377.9 MB, free: 16.62 MB / 302.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.0001874/0.3378, allocations: 106.1 kB / 378 MB, free: 16.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.3394, allocations: 446.3 kB / 378.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3394, allocations: 0 / 378.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3406, allocations: 328.8 kB / 378.8 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.3411, allocations: 43.16 kB / 378.8 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3426, allocations: 0.5594 MB / 379.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.3428, allocations: 0.7444 MB / 380.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.3429, allocations: 17.2 kB / 380.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.343, allocations: 15.69 kB / 380.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.343, allocations: 0 / 380.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of Templates: time 0.0107/0.3537, allocations: 4.942 MB / 385.1 MB, free: 14.39 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches