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.001311/0.001311, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002564, allocations: 4 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1207, allocations: 51.53 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003298/0.1241, allocations: 2.399 MB / 361.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1256, allocations: 0.6974 MB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1258, allocations: 3.938 kB / 362.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1259, allocations: 31.75 kB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.1261, allocations: 71.41 kB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1265, allocations: 95.89 kB / 362.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.1269, allocations: 342.5 kB / 362.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.1272, allocations: 73.14 kB / 363 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.1275, allocations: 127.5 kB / 363.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1277, allocations: 151.3 kB / 363.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.1278, allocations: 16 kB / 363.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.1278, allocations: 24 kB / 363.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.1279, allocations: 51.75 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1281, allocations: 157 kB / 363.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.1285, allocations: 323 kB / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1285, allocations: 0 / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1285, allocations: 0 / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1286, allocations: 0 / 363.8 MB, free: 8.75 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.001549/0.1301, allocations: 0.616 MB / 364.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1302, allocations: 8.031 kB / 364.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.1304, allocations: 44.55 kB / 364.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1308, allocations: 268.6 kB / 364.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.1308, allocations: 16.81 kB / 364.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.1309, allocations: 24.38 kB / 364.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.1316, allocations: 306.9 kB / 365.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1317, allocations: 0 / 365.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.1317, allocations: 12 kB / 365.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1317, allocations: 4 kB / 365.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.1326, allocations: 289.5 kB / 365.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1345, allocations: 1.077 MB / 366.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.1365, allocations: 486.3 kB / 366.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.1369, allocations: 152.8 kB / 367.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1369, allocations: 4 kB / 367.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.137, allocations: 34.56 kB / 367.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.776e-06/0.137, allocations: 0 / 367.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005094/0.1421, allocations: 1.128 MB / 368.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1421, allocations: 55.41 kB / 368.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1424, allocations: 221 kB / 368.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1424, allocations: 29.7 kB / 368.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1425, allocations: 164 kB / 368.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.1426, allocations: 43.36 kB / 368.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1426, allocations: 17.72 kB / 368.8 MB, free: 3.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1428, allocations: 334.8 kB / 369.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.1431, allocations: 115.9 kB / 369.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.1435, allocations: 137.5 kB / 369.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.1442, allocations: 247.9 kB / 369.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1442, allocations: 0 / 369.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002962/0.1472, allocations: 0.6969 MB / 370.3 MB, free: 1.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1472, allocations: 6.812 kB / 370.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1472, allocations: 0 / 370.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.148, allocations: 236.6 kB / 370.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1482, allocations: 39.91 kB / 370.5 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2563/0.4045, allocations: 2.609 MB / 373.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.405, allocations: 40.14 kB / 373.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.405, allocations: 6.438 kB / 373.2 MB, free: 18.23 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.0002208/0.4053, allocations: 133 kB / 373.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4054, allocations: 29.22 kB / 373.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.4055, allocations: 23.8 kB / 373.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4055, allocations: 2.125 kB / 373.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4055, allocations: 0.5156 kB / 373.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4055, allocations: 5.375 kB / 373.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.4061, allocations: 317.7 kB / 373.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4061, allocations: 1.281 kB / 373.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4063, allocations: 33.88 kB / 373.7 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/0.4073, allocations: 232.7 kB / 374 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.4074, allocations: 10.22 kB / 374 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00868/0.4161, allocations: 2.6 MB / 376.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4161, allocations: 0 / 376.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.4206, allocations: 0.9149 MB / 377.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.4208, allocations: 96.78 kB / 377.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.4208, allocations: 7.125 kB / 377.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.4212, allocations: 39.06 kB / 377.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.4213, allocations: 10.44 kB / 377.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4213, allocations: 4.953 kB / 377.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.4216, allocations: 161.6 kB / 377.8 MB, free: 16.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4216, allocations: 0 / 377.8 MB, free: 16.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007501/0.4223, allocations: 85.2 kB / 377.9 MB, free: 16.23 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.0001644/0.4225, allocations: 104 kB / 378 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.4247, allocations: 475.5 kB / 378.4 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4247, allocations: 4.062 kB / 378.5 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.4261, allocations: 349.4 kB / 378.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.4267, allocations: 37.88 kB / 378.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4282, allocations: 0.7002 MB / 379.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.4285, allocations: 0.7403 MB / 380.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.4286, allocations: 21.95 kB / 380.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.4287, allocations: 14.56 kB / 380.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4287, allocations: 1.438 kB / 380.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Templates: time 0.01078/0.4395, allocations: 4.603 MB / 384.9 MB, free: 14.12 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