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.001326/0.001326, allocations: 113.1 kB / 21.93 MB, free: 5.223 MB / 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.0014/0.0014, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.421/1.421, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.002094/0.002094, allocations: 63.8 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2725, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004033/0.2766, allocations: 2.488 MB / 400.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.278, allocations: 0.6785 MB / 400.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.2782, allocations: 3.938 kB / 400.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.2784, allocations: 44.47 kB / 400.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.2786, allocations: 83.66 kB / 400.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.279, allocations: 105.5 kB / 401 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.2795, allocations: 357.4 kB / 401.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2797, allocations: 67.75 kB / 401.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.28, allocations: 142.1 kB / 401.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.2802, allocations: 149.1 kB / 401.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.2803, allocations: 30.84 kB / 401.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.2804, allocations: 34.19 kB / 401.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.2804, allocations: 66.08 kB / 401.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.2806, allocations: 123.7 kB / 401.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.2811, allocations: 347.7 kB / 402.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2811, allocations: 3.938 kB / 402.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2811, allocations: 0 / 402.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.2811, allocations: 1.125 kB / 402.3 MB, free: 6.512 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.001563/0.2826, allocations: 0.5713 MB / 402.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2827, allocations: 17.73 kB / 402.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.493e-05/0.2828, allocations: 30.97 kB / 402.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.2832, allocations: 195.7 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.2832, allocations: 17.34 kB / 403.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.2832, allocations: 24.75 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.2839, allocations: 355.3 kB / 403.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2839, allocations: 5.766 kB / 403.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.284, allocations: 5.406 kB / 403.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.284, allocations: 5.484 kB / 403.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.2847, allocations: 272.7 kB / 403.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2863, allocations: 0.9181 MB / 404.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2881, allocations: 428.1 kB / 405.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.2885, allocations: 132.3 kB / 405.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2885, allocations: 2.312 kB / 405.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2885, allocations: 37.77 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.2885, allocations: 4 kB / 405.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004623/0.2932, allocations: 0.9523 MB / 406.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2932, allocations: 56.78 kB / 406.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2934, allocations: 200.5 kB / 406.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2934, allocations: 30.27 kB / 406.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.2935, allocations: 159.8 kB / 406.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.2935, allocations: 49.28 kB / 406.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.2936, allocations: 39.28 kB / 406.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.2937, allocations: 329.5 kB / 407.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.294, allocations: 109.7 kB / 407.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.2944, allocations: 122.3 kB / 407.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.295, allocations: 238.7 kB / 407.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.295, allocations: 0 / 407.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002809/0.2978, allocations: 0.6297 MB / 408.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2978, allocations: 5.375 kB / 408.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2978, allocations: 0 / 408.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007296/0.2985, allocations: 221.2 kB / 408.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2987, allocations: 31.78 kB / 408.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/0.3051, allocations: 2.607 MB / 411 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.3054, allocations: 39.75 kB / 411.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3054, allocations: 6.859 kB / 411.1 MB, free: 1.641 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.0001459/0.3056, allocations: 127.8 kB / 411.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.3057, allocations: 24.55 kB / 411.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3057, allocations: 27.02 kB / 411.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3057, allocations: 1.375 kB / 411.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3057, allocations: 8 kB / 411.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3057, allocations: 1 kB / 411.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.306, allocations: 218.8 kB / 411.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.306, allocations: 0.9688 kB / 411.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.3062, allocations: 26.83 kB / 411.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006009/0.3068, allocations: 223.2 kB / 411.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3068, allocations: 9.359 kB / 411.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/0.3129, allocations: 2.581 MB / 414.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3129, allocations: 3.938 kB / 414.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.3161, allocations: 0.8346 MB / 415.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.3161, allocations: 25.62 kB / 415.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3162, allocations: 13.05 kB / 415.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3164, allocations: 29.3 kB / 415.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3165, allocations: 16.38 kB / 415.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3165, allocations: 3.406 kB / 415.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.3167, allocations: 153.3 kB / 415.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3167, allocations: 0 / 415.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.3172, allocations: 82.42 kB / 415.5 MB, free: 14.62 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.0001467/0.3173, allocations: 99.62 kB / 415.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.319, allocations: 439.9 kB / 416 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.319, allocations: 1.438 kB / 416 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3201, allocations: 331.4 kB / 416.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3205, allocations: 34.58 kB / 416.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.322, allocations: 0.5743 MB / 416.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.3222, allocations: 136.2 kB / 417.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.3223, allocations: 19.69 kB / 417.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3223, allocations: 3.938 kB / 417.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.006936/0.3292, allocations: 4.088 MB / 421.2 MB, free: 11.05 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: 7.621795063838363]