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.001849/0.001849, allocations: 107.6 kB / 21.18 MB, free: 452 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.002177/0.002177, allocations: 215 kB / 24.47 MB, free: 3.777 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.47/1.47, allocations: 207.7 MB / 235.3 MB, free: 9.801 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [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.002042/0.002042, allocations: 62.58 kB / 347.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2483, allocations: 49.15 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003257/0.2516, allocations: 2.491 MB / 398.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000998/0.2526, allocations: 0.6836 MB / 399.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2527, allocations: 5.125 kB / 399.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2528, allocations: 44.25 kB / 399.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.253, allocations: 80.69 kB / 399.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.2532, allocations: 100.8 kB / 399.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2535, allocations: 365.3 kB / 400.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2537, allocations: 63.53 kB / 400.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2539, allocations: 142.1 kB / 400.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2541, allocations: 145.4 kB / 400.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.2541, allocations: 30.31 kB / 400.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.524e-05/0.2542, allocations: 31.72 kB / 400.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.2542, allocations: 65.62 kB / 400.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2543, allocations: 129.2 kB / 400.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2547, allocations: 347.3 kB / 401 MB, free: 5.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2547, allocations: 1.062 kB / 401 MB, free: 5.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2547, allocations: 4 kB / 401 MB, free: 5.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2547, allocations: 0.8438 kB / 401 MB, free: 5.992 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.00129/0.256, allocations: 0.5696 MB / 401.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.256, allocations: 13.45 kB / 401.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.2561, allocations: 54.92 kB / 401.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.2561, allocations: 35.06 kB / 401.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2564, allocations: 197.5 kB / 401.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2564, allocations: 21.25 kB / 401.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.2565, allocations: 16.88 kB / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.2571, allocations: 356.4 kB / 402.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2571, allocations: 0 / 402.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2571, allocations: 14.45 kB / 402.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2571, allocations: 4.219 kB / 402.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.2578, allocations: 271.4 kB / 402.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.2592, allocations: 0.9652 MB / 403.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.261, allocations: 423.7 kB / 404 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.2614, allocations: 139.8 kB / 404.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2614, allocations: 2.797 kB / 404.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2615, allocations: 33.25 kB / 404.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.2615, allocations: 0 / 404.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004589/0.266, allocations: 0.9492 MB / 405.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.2661, allocations: 54 kB / 405.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.2663, allocations: 216.9 kB / 405.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2663, allocations: 30.83 kB / 405.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.2663, allocations: 163.2 kB / 405.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.2664, allocations: 45.91 kB / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.2664, allocations: 42.91 kB / 405.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.2665, allocations: 330.3 kB / 405.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.2668, allocations: 106.3 kB / 406 MB, free: 3.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.2671, allocations: 122.2 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.2678, allocations: 233.7 kB / 406.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2678, allocations: 3.938 kB / 406.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002671/0.2704, allocations: 0.6263 MB / 407 MB, free: 2.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2704, allocations: 9.859 kB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2705, allocations: 1.094 kB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.2711, allocations: 216.1 kB / 407.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2713, allocations: 41.17 kB / 407.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006342/0.2776, allocations: 2.627 MB / 409.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.2779, allocations: 38.66 kB / 409.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.278, allocations: 8.469 kB / 410 MB, free: 1.109 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.0001239/0.2781, allocations: 138.8 kB / 410.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.2781, allocations: 18.94 kB / 410.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.2782, allocations: 21.67 kB / 410.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2782, allocations: 2.25 kB / 410.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2782, allocations: 0 / 410.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2782, allocations: 0 / 410.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.2785, allocations: 268 kB / 410.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2785, allocations: 1.219 kB / 410.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.2786, allocations: 30.81 kB / 410.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005975/0.2792, allocations: 218.6 kB / 410.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.2792, allocations: 9.047 kB / 410.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006281/0.2855, allocations: 2.596 MB / 413.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2855, allocations: 8 kB / 413.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.2887, allocations: 0.8432 MB / 414.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2887, allocations: 22.44 kB / 414.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2888, allocations: 4.094 kB / 414.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.2891, allocations: 34.19 kB / 414.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.2891, allocations: 15.86 kB / 414.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2891, allocations: 7.031 kB / 414.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.2893, allocations: 160.2 kB / 414.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2893, allocations: 4.062 kB / 414.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.2897, allocations: 82 kB / 414.4 MB, free: 14.01 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.003469/0.2932, allocations: 1.378 MB / 415.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.2947, allocations: 448.7 kB / 416.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2947, allocations: 5.188 kB / 416.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2957, allocations: 315 kB / 416.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2961, allocations: 35.72 kB / 416.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/0.3045, allocations: 3.347 MB / 419.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.3046, allocations: 128.6 kB / 420.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.261e-05/0.3047, allocations: 17.77 kB / 420.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3048, allocations: 66.47 kB / 420.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3048, allocations: 0 / 420.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.3453, allocations: 7.907 MB / 428 MB, free: 2.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.88, allocations: 4.125 kB / 428 MB, free: 2.629 MB / 334.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv --start-time 0 --stop-time 0.4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.9968e-05 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv","/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: 15.523498916067183]