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.001339/0.001339, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001597/0.001597, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001927/0.001927, allocations: 64.14 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00412/0.2977, allocations: 2.746 MB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2989, allocations: 0.7283 MB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2991, allocations: 4 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2992, allocations: 47.56 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2994, allocations: 75.28 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2997, allocations: 111.8 kB / 436.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.3001, allocations: 358.6 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.3003, allocations: 64.89 kB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3005, allocations: 159.4 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3008, allocations: 155.4 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.3008, allocations: 32 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.3009, allocations: 32 kB / 436.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.301, allocations: 79.73 kB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.3011, allocations: 147.3 kB / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3015, allocations: 343.9 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3015, allocations: 0 / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3015, allocations: 4 kB / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3015, allocations: 0 / 437.5 MB, free: 1.684 MB / 334.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.001502/0.303, allocations: 0.5754 MB / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3031, allocations: 11.97 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3032, allocations: 40.73 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3036, allocations: 203 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3036, allocations: 16.81 kB / 438.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.3037, allocations: 20.38 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.3043, allocations: 298.9 kB / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3043, allocations: 0 / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.3044, allocations: 12 kB / 438.7 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3044, allocations: 7.938 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.3051, allocations: 273.5 kB / 438.9 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.3068, allocations: 1.035 MB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.3087, allocations: 434.3 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.3091, allocations: 132.8 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3091, allocations: 3.984 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.3092, allocations: 50.48 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3092, allocations: 0 / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004973/0.3142, allocations: 0.9353 MB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3142, allocations: 55.41 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3144, allocations: 217 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3145, allocations: 25.7 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3146, allocations: 172.1 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.3147, allocations: 55.56 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3148, allocations: 37.66 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3149, allocations: 330.8 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.3153, allocations: 107.9 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.3156, allocations: 125.6 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.3163, allocations: 228.2 kB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3163, allocations: 0 / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00291/0.3192, allocations: 0.6268 MB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3192, allocations: 11.94 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3192, allocations: 0 / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007599/0.32, allocations: 216.7 kB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3202, allocations: 39.91 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.3273, allocations: 2.643 MB / 446.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.3276, allocations: 31.92 kB / 446.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3277, allocations: 4 kB / 446.4 MB, free: 8.418 MB / 350.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.0001977/0.3279, allocations: 137.8 kB / 446.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.3279, allocations: 15.91 kB / 446.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.328, allocations: 25.77 kB / 446.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.328, allocations: 0 / 446.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.328, allocations: 0 / 446.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.328, allocations: 3.938 kB / 446.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.3284, allocations: 312.2 kB / 446.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3284, allocations: 0 / 446.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3285, allocations: 31.97 kB / 446.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006584/0.3292, allocations: 232.7 kB / 447.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3292, allocations: 0 / 447.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006829/0.336, allocations: 2.635 MB / 449.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.336, allocations: 0 / 449.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.3393, allocations: 0.8429 MB / 450.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.3393, allocations: 31.88 kB / 450.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.3394, allocations: 4 kB / 450.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.3397, allocations: 31.97 kB / 450.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3397, allocations: 7.984 kB / 450.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3397, allocations: 7.984 kB / 450.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3399, allocations: 156.5 kB / 450.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3399, allocations: 4 kB / 450.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004597/0.3404, allocations: 83.89 kB / 450.9 MB, free: 3.684 MB / 350.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.0001487/0.3405, allocations: 102.8 kB / 451 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.3421, allocations: 446.2 kB / 451.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3421, allocations: 0 / 451.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3431, allocations: 326.5 kB / 451.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3435, allocations: 28.66 kB / 451.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3449, allocations: 0.6013 MB / 452.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3452, allocations: 0.7359 MB / 453.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.3453, allocations: 23.42 kB / 453.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3453, allocations: 0 / 453.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Templates: time 0.006807/0.3521, allocations: 4.142 MB / 457.3 MB, free: 13.21 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/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: 7.726249380968511]