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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008121/0.0008121, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003864/0.003864, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8279/0.8279, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.574e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002453/0.002469, allocations: 2.565 MB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.003213, allocations: 0.6855 MB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.003305, allocations: 4 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003411, allocations: 39.58 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.418e-05/0.003505, allocations: 91.2 kB / 329.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.003781, allocations: 107.7 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.004021, allocations: 374.3 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.004157, allocations: 60.89 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.00438, allocations: 207.5 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.004501, allocations: 127.6 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.004532, allocations: 32 kB / 330.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.004586, allocations: 36 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.00462, allocations: 67.8 kB / 330.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.004683, allocations: 103.7 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.004957, allocations: 374.8 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004959, allocations: 0 / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00496, allocations: 0 / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004964, allocations: 0 / 330.6 MB, free: 10.51 MB / 298.7 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.000782/0.005746, allocations: 0.5677 MB / 331.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.005777, allocations: 15.98 kB / 331.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.005889, allocations: 40.73 kB / 331.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.006115, allocations: 214.2 kB / 331.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.006128, allocations: 12.88 kB / 331.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.006159, allocations: 20.38 kB / 331.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.006546, allocations: 347.5 kB / 331.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006555, allocations: 192 / 331.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.006575, allocations: 12.38 kB / 331.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006582, allocations: 7.938 kB / 331.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.006972, allocations: 269.8 kB / 332.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.007883, allocations: 0.927 MB / 333 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.009009, allocations: 430.3 kB / 333.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.009213, allocations: 136.8 kB / 333.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.00923, allocations: 0 / 333.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.009248, allocations: 34.56 kB / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.62e-07/0.009249, allocations: 4 kB / 333.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002159/0.01141, allocations: 0.9508 MB / 334.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.01143, allocations: 55.41 kB / 334.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.01157, allocations: 211.2 kB / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.01158, allocations: 29.64 kB / 334.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.01165, allocations: 160.4 kB / 335 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.01168, allocations: 55.53 kB / 335.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.01173, allocations: 37.59 kB / 335.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.01181, allocations: 330.8 kB / 335.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.01198, allocations: 107.9 kB / 335.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.01215, allocations: 125.6 kB / 335.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.01249, allocations: 232.9 kB / 335.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01249, allocations: 0 / 335.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001268/0.01376, allocations: 0.6306 MB / 336.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01377, allocations: 4 kB / 336.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01378, allocations: 4 kB / 336.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.01417, allocations: 220.6 kB / 336.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.01425, allocations: 35.92 kB / 336.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/0.01753, allocations: 2.579 MB / 339.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01764, allocations: 39.92 kB / 339.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01765, allocations: 4 kB / 339.4 MB, free: 1.379 MB / 298.7 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 9e-05/0.01774, allocations: 133.8 kB / 339.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.01777, allocations: 27.8 kB / 339.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.01779, allocations: 21.41 kB / 339.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01779, allocations: 0 / 339.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.0178, allocations: 4 kB / 339.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0178, allocations: 4.078 kB / 339.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.01799, allocations: 217.2 kB / 339.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01799, allocations: 7.969 kB / 339.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.01807, allocations: 39.92 kB / 339.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003271/0.0184, allocations: 212.7 kB / 340.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.01842, allocations: 7.984 kB / 340.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/0.0218, allocations: 2.581 MB / 342.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0218, allocations: 4.031 kB / 342.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.02325, allocations: 0.8428 MB / 343.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.02327, allocations: 19.89 kB / 343.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.02329, allocations: 4 kB / 343.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.02341, allocations: 39.97 kB / 343.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.02344, allocations: 7.984 kB / 343.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.02345, allocations: 7.984 kB / 343.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.02353, allocations: 155.1 kB / 343.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02353, allocations: 0 / 343.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.02379, allocations: 79.89 kB / 343.8 MB, free: 12.82 MB / 314.7 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 8.376e-05/0.02388, allocations: 99.23 kB / 343.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007366/0.02461, allocations: 438.3 kB / 344.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02462, allocations: 0 / 344.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.02507, allocations: 326.5 kB / 344.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.02528, allocations: 31.19 kB / 344.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.026, allocations: 0.5518 MB / 345.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.59e-05/0.02607, allocations: 133.8 kB / 345.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.02611, allocations: 20.5 kB / 345.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02611, allocations: 4 kB / 345.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of Templates: time 0.003892/0.03, allocations: 4.128 MB / 349.5 MB, free: 7.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.508785103447735]