Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_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.001266/0.001266, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001826/0.001826, allocations: 177.4 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 223.2 MB / 241.2 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 6.734 kB / 300.8 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 50.42 MB / 351.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003021/0.1082, allocations: 2.28 MB / 353.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1096, allocations: 0.6431 MB / 354.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1097, allocations: 7.938 kB / 354.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1099, allocations: 31.75 kB / 354.2 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.11, allocations: 67.47 kB / 354.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1103, allocations: 83.77 kB / 354.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.1107, allocations: 318.6 kB / 354.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.1109, allocations: 76.94 kB / 354.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.1111, allocations: 115.6 kB / 354.8 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1113, allocations: 139.5 kB / 355 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.1114, allocations: 16 kB / 355 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.1114, allocations: 16 kB / 355 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.1115, allocations: 51.77 kB / 355.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.1116, allocations: 73.56 kB / 355.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1118, allocations: 243.3 kB / 355.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1118, allocations: 0 / 355.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1118, allocations: 0 / 355.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1118, allocations: 0 / 355.4 MB, free: 7.734 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.001332/0.1132, allocations: 0.6119 MB / 356 MB, free: 7.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1132, allocations: 12.03 kB / 356 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.1133, allocations: 27.67 kB / 356 MB, free: 7.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.1137, allocations: 251.5 kB / 356.3 MB, free: 6.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1137, allocations: 16.44 kB / 356.3 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.1138, allocations: 20 kB / 356.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.1144, allocations: 306.6 kB / 356.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1145, allocations: 0 / 356.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.1145, allocations: 16 kB / 356.6 MB, free: 6.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.1145, allocations: 4 kB / 356.6 MB, free: 6.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.1153, allocations: 289.5 kB / 356.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.1169, allocations: 1.081 MB / 358 MB, free: 4.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.1188, allocations: 490.2 kB / 358.5 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.1192, allocations: 152.8 kB / 358.6 MB, free: 4.289 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1192, allocations: 7.984 kB / 358.6 MB, free: 4.281 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1193, allocations: 34.56 kB / 358.7 MB, free: 4.238 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.1193, allocations: 0 / 358.7 MB, free: 4.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.004732/0.124, allocations: 1.127 MB / 359.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1241, allocations: 51.41 kB / 359.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1243, allocations: 220.2 kB / 360 MB, free: 2.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1243, allocations: 25.7 kB / 360.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1245, allocations: 156.1 kB / 360.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.1245, allocations: 59.28 kB / 360.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.1245, allocations: 0 / 360.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1247, allocations: 334.8 kB / 360.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.125, allocations: 115.9 kB / 360.7 MB, free: 2.098 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.1253, allocations: 135.7 kB / 360.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.1257, allocations: 119.9 kB / 361 MB, free: 1.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1257, allocations: 0 / 361 MB, free: 1.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002776/0.1285, allocations: 0.693 MB / 361.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1285, allocations: 6.188 kB / 361.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1285, allocations: 0 / 361.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000723/0.1292, allocations: 236.6 kB / 361.9 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1294, allocations: 39.97 kB / 361.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.1363, allocations: 2.594 MB / 364.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.1367, allocations: 51.81 kB / 364.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.1368, allocations: 4 kB / 364.6 MB, free: 14.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.137, allocations: 133.7 kB / 364.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.1371, allocations: 15.81 kB / 364.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.1372, allocations: 33.52 kB / 364.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1372, allocations: 0 / 364.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1372, allocations: 0 / 364.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.1372, allocations: 4.078 kB / 364.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1378, allocations: 333.2 kB / 365.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1378, allocations: 0 / 365.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.1381, allocations: 31.97 kB / 365.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008495/0.139, allocations: 232.7 kB / 365.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.139, allocations: 4 kB / 365.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006229/0.1453, allocations: 2.607 MB / 368 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1453, allocations: 0 / 368 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.1484, allocations: 0.9098 MB / 368.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1485, allocations: 96.86 kB / 369 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.1485, allocations: 3.953 kB / 369 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.1488, allocations: 44.03 kB / 369 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1489, allocations: 7.984 kB / 369 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1489, allocations: 4 kB / 369 MB, free: 9.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.149, allocations: 161.6 kB / 369.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1491, allocations: 0 / 369.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.1495, allocations: 79.84 kB / 369.3 MB, free: 9.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.1497, allocations: 107.2 kB / 369.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.1512, allocations: 470.5 kB / 369.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1512, allocations: 3.938 kB / 369.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.1522, allocations: 353 kB / 370.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1526, allocations: 32.66 kB / 370.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.154, allocations: 0.6637 MB / 370.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.1546, allocations: 0.7518 MB / 371.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.1547, allocations: 17.55 kB / 371.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1547, allocations: 11.44 kB / 371.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1547, allocations: 4 kB / 371.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Templates: time 0.009392/0.1641, allocations: 4.464 MB / 376.1 MB, free: 2.254 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches