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.001581/0.001581, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.756/1.756, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.81 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00476/0.1267, allocations: 2.708 MB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1281, allocations: 0.7168 MB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1283, allocations: 11.94 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.1285, allocations: 47.5 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1287, allocations: 75.28 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.129, allocations: 107.8 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.1295, allocations: 350.6 kB / 361.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1297, allocations: 96.69 kB / 361.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.13, allocations: 147.5 kB / 361.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1302, allocations: 163.3 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.1303, allocations: 28 kB / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1304, allocations: 40 kB / 362 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.1305, allocations: 63.8 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1306, allocations: 151.2 kB / 362.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.131, allocations: 347.1 kB / 362.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.131, allocations: 7.938 kB / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.131, allocations: 0 / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1311, allocations: 0 / 362.6 MB, free: 8.973 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.001506/0.1326, allocations: 0.6431 MB / 363.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1326, allocations: 8.031 kB / 363.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.1328, allocations: 36.64 kB / 363.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1332, allocations: 264.7 kB / 363.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1332, allocations: 16.81 kB / 363.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.1332, allocations: 20.38 kB / 363.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.1339, allocations: 302.9 kB / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.134, allocations: 0 / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.134, allocations: 12 kB / 363.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.134, allocations: 4 kB / 363.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.1348, allocations: 265.6 kB / 364.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1366, allocations: 1.069 MB / 365.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.1385, allocations: 438.3 kB / 365.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.1389, allocations: 149 kB / 365.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.139, allocations: 0 / 365.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.139, allocations: 42.56 kB / 365.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.139, allocations: 0 / 365.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.004968/0.144, allocations: 1.026 MB / 366.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1441, allocations: 55.41 kB / 366.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1443, allocations: 217 kB / 367.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1444, allocations: 33.7 kB / 367.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1445, allocations: 164 kB / 367.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.1446, allocations: 39.36 kB / 367.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.1447, allocations: 41.69 kB / 367.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.1449, allocations: 326.8 kB / 367.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.1453, allocations: 107.9 kB / 367.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.1457, allocations: 121.6 kB / 367.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.1464, allocations: 233.5 kB / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.1464, allocations: 0 / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002891/0.1493, allocations: 0.6369 MB / 368.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1493, allocations: 4 kB / 368.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.1493, allocations: 3.984 kB / 368.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007604/0.1501, allocations: 224.6 kB / 369 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1503, allocations: 35.98 kB / 369 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2404/0.3907, allocations: 2.736 MB / 371.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.3911, allocations: 38.05 kB / 371.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3911, allocations: 5.578 kB / 371.8 MB, free: 19.04 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.0001506/0.3913, allocations: 135.1 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.3914, allocations: 25.78 kB / 372 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.3914, allocations: 23.77 kB / 372 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3914, allocations: 5.438 kB / 372 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.3914, allocations: 0 / 372 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3914, allocations: 3.172 kB / 372 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.3918, allocations: 328 kB / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3919, allocations: 0 / 372.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.392, allocations: 32.39 kB / 372.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/0.3929, allocations: 219.7 kB / 372.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3929, allocations: 7.766 kB / 372.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/0.4002, allocations: 2.734 MB / 375.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4002, allocations: 0.9062 kB / 375.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.4038, allocations: 0.8405 MB / 376.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.4039, allocations: 100 kB / 376.2 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.404, allocations: 0.75 kB / 376.2 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.4043, allocations: 33.27 kB / 376.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.4044, allocations: 20.73 kB / 376.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.4044, allocations: 4.859 kB / 376.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.4046, allocations: 161 kB / 376.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4046, allocations: 1.156 kB / 376.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005165/0.4051, allocations: 77.34 kB / 376.5 MB, free: 16.87 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.0001825/0.4053, allocations: 101.6 kB / 376.6 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.4071, allocations: 451.8 kB / 377.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4071, allocations: 0 / 377.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4083, allocations: 331.5 kB / 377.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.4086, allocations: 33.7 kB / 377.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.41, allocations: 0.5713 MB / 378 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.4104, allocations: 0.7437 MB / 378.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.409e-05/0.4105, allocations: 16.56 kB / 378.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.4106, allocations: 20.66 kB / 378.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4106, allocations: 0 / 378.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of Templates: time 0.01296/0.4235, allocations: 4.946 MB / 383.7 MB, free: 14.7 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.1.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