Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 194.4 kB / 22.93 MB, free: 5.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 52.55 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2984, allocations: 49.13 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00336/0.3018, allocations: 2.688 MB / 397.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3029, allocations: 0.7196 MB / 397.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.303, allocations: 4.375 kB / 397.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3031, allocations: 44.11 kB / 398 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3032, allocations: 80.47 kB / 398.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3035, allocations: 103.3 kB / 398.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.3038, allocations: 358.9 kB / 398.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.304, allocations: 74.88 kB / 398.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3042, allocations: 140.9 kB / 398.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3044, allocations: 161 kB / 398.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.3044, allocations: 31.38 kB / 398.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.3045, allocations: 30.62 kB / 398.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.3046, allocations: 70.05 kB / 399 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3047, allocations: 145.8 kB / 399.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.3051, allocations: 346.6 kB / 399.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3051, allocations: 4.609 kB / 399.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.3051, allocations: 0 / 399.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3051, allocations: 3.938 kB / 399.5 MB, free: 6.266 MB / 318.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.001538/0.3066, allocations: 0.6485 MB / 400.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3067, allocations: 9.672 kB / 400.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.3067, allocations: 30.88 kB / 400.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.3071, allocations: 262 kB / 400.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3071, allocations: 17.19 kB / 400.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.3071, allocations: 20.69 kB / 400.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.3078, allocations: 297.9 kB / 400.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3078, allocations: 5.422 kB / 400.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.3078, allocations: 10 kB / 400.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.3079, allocations: 5.25 kB / 400.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.3086, allocations: 265.3 kB / 401 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.3102, allocations: 1.057 MB / 402.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.3121, allocations: 436 kB / 402.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.3125, allocations: 140.6 kB / 402.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3125, allocations: 2.125 kB / 402.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.3125, allocations: 36.2 kB / 402.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.3125, allocations: 0 / 402.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.005142/0.3177, allocations: 1.024 MB / 403.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.3177, allocations: 54.77 kB / 403.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3179, allocations: 215.8 kB / 404 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3179, allocations: 31.67 kB / 404 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.318, allocations: 159.5 kB / 404.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.3181, allocations: 49.8 kB / 404.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.3181, allocations: 37.73 kB / 404.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.3182, allocations: 329.9 kB / 404.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.3185, allocations: 105.8 kB / 404.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.3189, allocations: 130 kB / 404.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.3195, allocations: 226.2 kB / 405 MB, free: 3.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3195, allocations: 0 / 405 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002857/0.3224, allocations: 0.6342 MB / 405.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3224, allocations: 10.12 kB / 405.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3224, allocations: 0 / 405.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000699/0.3231, allocations: 224.7 kB / 405.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3233, allocations: 32.81 kB / 405.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/0.3298, allocations: 2.749 MB / 408.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3301, allocations: 38.55 kB / 408.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3302, allocations: 8.906 kB / 408.7 MB, free: 1.016 MB / 318.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.0001626/0.3303, allocations: 139 kB / 408.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.3304, allocations: 25.16 kB / 408.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.3304, allocations: 26.53 kB / 408.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3304, allocations: 5.406 kB / 408.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3304, allocations: 1.062 kB / 408.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3304, allocations: 3.984 kB / 408.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.3308, allocations: 323.8 kB / 409.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3308, allocations: 1.375 kB / 409.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.331, allocations: 38.36 kB / 409.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006631/0.3316, allocations: 219.3 kB / 409.5 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3316, allocations: 1.219 kB / 409.5 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.3387, allocations: 2.734 MB / 412.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3387, allocations: 0 / 412.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.342, allocations: 0.8511 MB / 413.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3421, allocations: 89.58 kB / 413.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3422, allocations: 1.094 kB / 413.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3425, allocations: 38.62 kB / 413.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.3425, allocations: 8.422 kB / 413.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.3426, allocations: 7.609 kB / 413.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.3428, allocations: 158.7 kB / 413.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3428, allocations: 0 / 413.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.3433, allocations: 82.75 kB / 413.5 MB, free: 13.59 MB / 334.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.0001646/0.3434, allocations: 117.3 kB / 413.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.3451, allocations: 440.5 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3451, allocations: 0 / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.3462, allocations: 328.4 kB / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3466, allocations: 38.66 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.348, allocations: 0.5609 MB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3484, allocations: 0.748 MB / 415.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.366e-05/0.3485, allocations: 25.36 kB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.3486, allocations: 18.64 kB / 415.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3486, allocations: 0 / 415.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Templates: time 0.01048/0.359, allocations: 5.051 MB / 420.8 MB, free: 8.867 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.790628707967699]