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.001794/0.001793, allocations: 115.7 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002137, allocations: 201.8 kB / 18.27 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.81 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004262/0.1229, allocations: 2.769 MB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1245, allocations: 0.709 MB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.1248, allocations: 4 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.125, allocations: 27.77 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1252, allocations: 71.39 kB / 360.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1255, allocations: 95.89 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.1259, allocations: 362.6 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1261, allocations: 84.7 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.1264, allocations: 143.5 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1266, allocations: 171.3 kB / 361.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.1266, allocations: 32 kB / 361.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.1267, allocations: 35.98 kB / 361.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1268, allocations: 59.83 kB / 361.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1269, allocations: 147.3 kB / 361.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.1273, allocations: 351.1 kB / 362 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1273, allocations: 0 / 362 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1273, allocations: 0 / 362 MB, free: 9.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1273, allocations: 0 / 362 MB, free: 9.355 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.0015/0.1288, allocations: 0.647 MB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1289, allocations: 12.03 kB / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.1291, allocations: 32.66 kB / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.1294, allocations: 272.5 kB / 363 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1294, allocations: 16.81 kB / 363 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.1295, allocations: 20.38 kB / 363 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.1302, allocations: 298.9 kB / 363.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1302, allocations: 0 / 363.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.1302, allocations: 12 kB / 363.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1303, allocations: 4 kB / 363.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.131, allocations: 273.5 kB / 363.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1326, allocations: 1.062 MB / 364.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.1346, allocations: 438.2 kB / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.135, allocations: 152.8 kB / 365.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.135, allocations: 0 / 365.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1351, allocations: 34.56 kB / 365.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1351, allocations: 0 / 365.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00527/0.1404, allocations: 1.03 MB / 366.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.1405, allocations: 59.39 kB / 366.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1407, allocations: 213 kB / 366.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.1408, allocations: 29.7 kB / 366.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.141, allocations: 168 kB / 366.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.141, allocations: 39.36 kB / 366.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.1411, allocations: 41.7 kB / 366.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1413, allocations: 330.8 kB / 367.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.1417, allocations: 99.94 kB / 367.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.142, allocations: 125.6 kB / 367.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.1427, allocations: 232.1 kB / 367.6 MB, free: 3.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1427, allocations: 0 / 367.6 MB, free: 3.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003094/0.1458, allocations: 0.6422 MB / 368.2 MB, free: 2.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.1459, allocations: 4 kB / 368.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1459, allocations: 0 / 368.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/0.1467, allocations: 224.6 kB / 368.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.1469, allocations: 39.91 kB / 368.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2039/0.3508, allocations: 2.731 MB / 371.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.3513, allocations: 39.17 kB / 371.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.3513, allocations: 6.016 kB / 371.3 MB, free: 19.67 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.0001985/0.3515, allocations: 137.9 kB / 371.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.3516, allocations: 21.88 kB / 371.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.3517, allocations: 23.16 kB / 371.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3517, allocations: 2.984 kB / 371.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3517, allocations: 0.875 kB / 371.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3517, allocations: 0.75 kB / 371.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.3522, allocations: 324 kB / 371.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3522, allocations: 7.406 kB / 371.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3524, allocations: 32.47 kB / 371.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007831/0.3532, allocations: 219.1 kB / 372 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3533, allocations: 10.41 kB / 372 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007133/0.3604, allocations: 2.735 MB / 374.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3604, allocations: 1.156 kB / 374.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.3641, allocations: 0.8457 MB / 375.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.3642, allocations: 95.09 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.3642, allocations: 8.297 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.3646, allocations: 29.03 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.3646, allocations: 15.53 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3647, allocations: 5.125 kB / 375.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.3649, allocations: 161.4 kB / 375.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3649, allocations: 0 / 375.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.3655, allocations: 81.06 kB / 376 MB, free: 17.52 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.0001987/0.3657, allocations: 110.7 kB / 376.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3674, allocations: 453.4 kB / 376.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3674, allocations: 4.062 kB / 376.5 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.3686, allocations: 324.8 kB / 376.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.369, allocations: 34.92 kB / 376.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3705, allocations: 0.6501 MB / 377.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3707, allocations: 0.7402 MB / 378.3 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.04e-05/0.3708, allocations: 20.08 kB / 378.3 MB, free: 16.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.3708, allocations: 16.06 kB / 378.3 MB, free: 16 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3708, allocations: 0 / 378.3 MB, free: 16 MB / 302.1 MB Notification: Performance of Templates: time 0.0103/0.3812, allocations: 4.907 MB / 383.2 MB, free: 15.32 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches