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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002851/0.002851, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.576/1.576, allocations: 207.6 MB / 236 MB, free: 9.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 55.92 kB / 348.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3265, allocations: 49.14 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004087/0.3305, allocations: 2.694 MB / 400.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3319, allocations: 0.7188 MB / 401 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.332, allocations: 8.281 kB / 401 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3322, allocations: 41.83 kB / 401.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3323, allocations: 79.12 kB / 401.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.3326, allocations: 104 kB / 401.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.333, allocations: 361.7 kB / 401.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3332, allocations: 63.16 kB / 401.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.3334, allocations: 154.9 kB / 401.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3337, allocations: 160.7 kB / 402 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.3337, allocations: 30.22 kB / 402 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.3338, allocations: 30.91 kB / 402 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.3338, allocations: 69.69 kB / 402.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.334, allocations: 146.4 kB / 402.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3344, allocations: 346.1 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3344, allocations: 4 kB / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3344, allocations: 0 / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3344, allocations: 0.5625 kB / 402.6 MB, free: 6.336 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.001464/0.3359, allocations: 0.5729 MB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3359, allocations: 14 kB / 403.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.336, allocations: 31.53 kB / 403.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.3364, allocations: 201.1 kB / 403.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3364, allocations: 17.45 kB / 403.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.3364, allocations: 24.81 kB / 403.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.3371, allocations: 298.9 kB / 403.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3371, allocations: 0 / 403.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.3371, allocations: 9 kB / 403.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3371, allocations: 9.688 kB / 403.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007545/0.3379, allocations: 266.5 kB / 404 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.3395, allocations: 1.023 MB / 405 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.3414, allocations: 436.8 kB / 405.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.3418, allocations: 135.5 kB / 405.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3419, allocations: 6.688 kB / 405.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3419, allocations: 36.59 kB / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3419, allocations: 0 / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.005222/0.3471, allocations: 0.9437 MB / 406.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3471, allocations: 59.03 kB / 406.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3474, allocations: 212 kB / 406.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3474, allocations: 31.05 kB / 406.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.3475, allocations: 159 kB / 407 MB, free: 4.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.3475, allocations: 53.41 kB / 407.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.3476, allocations: 35.09 kB / 407.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.3477, allocations: 328.8 kB / 407.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.348, allocations: 111.5 kB / 407.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.3484, allocations: 121 kB / 407.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.349, allocations: 233 kB / 407.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.349, allocations: 4.609 kB / 407.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002988/0.352, allocations: 0.6345 MB / 408.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.352, allocations: 5.219 kB / 408.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.352, allocations: 4.516 kB / 408.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.3528, allocations: 220.6 kB / 408.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.353, allocations: 35.94 kB / 408.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/0.3594, allocations: 2.64 MB / 411.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.3597, allocations: 43.55 kB / 411.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3597, allocations: 4.656 kB / 411.5 MB, free: 1.363 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.0001391/0.3599, allocations: 131.1 kB / 411.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.3599, allocations: 22.14 kB / 411.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.36, allocations: 26.17 kB / 411.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.36, allocations: 1.125 kB / 411.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.36, allocations: 1.062 kB / 411.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.36, allocations: 0 / 411.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.3603, allocations: 311.7 kB / 411.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3603, allocations: 0 / 411.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3605, allocations: 31.67 kB / 412 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/0.3611, allocations: 222.1 kB / 412.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3611, allocations: 1.156 kB / 412.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006619/0.3677, allocations: 2.637 MB / 414.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3677, allocations: 8 kB / 414.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.3712, allocations: 0.8428 MB / 415.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.3713, allocations: 21.77 kB / 415.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3713, allocations: 1.5 kB / 415.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3717, allocations: 33.78 kB / 415.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3717, allocations: 10.86 kB / 415.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3717, allocations: 8.359 kB / 415.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3719, allocations: 154.4 kB / 415.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3719, allocations: 1.062 kB / 415.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000496/0.3724, allocations: 81.94 kB / 416 MB, free: 14.2 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.0001303/0.3725, allocations: 98.31 kB / 416.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.3742, allocations: 448.7 kB / 416.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3742, allocations: 1.156 kB / 416.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.3753, allocations: 331.4 kB / 416.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3757, allocations: 31.34 kB / 416.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3772, allocations: 0.586 MB / 417.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3776, allocations: 0.7529 MB / 418.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.3776, allocations: 15.31 kB / 418.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3776, allocations: 1.375 kB / 418.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Templates: time 0.007049/0.3847, allocations: 4.098 MB / 422.3 MB, free: 10.03 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/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: 8.263996299821883]