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.001247/0.001247, allocations: 103.6 kB / 21.18 MB, free: 472 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.001789/0.001789, allocations: 216 kB / 24.47 MB, free: 3.793 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.602/1.602, allocations: 207.7 MB / 235.3 MB, free: 9.781 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.001937/0.001937, allocations: 51.92 kB / 347.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 49.15 MB / 396.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003827/0.2842, allocations: 2.491 MB / 399.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2853, allocations: 0.6906 MB / 400 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.2854, allocations: 4.031 kB / 400 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2856, allocations: 42.05 kB / 400.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2857, allocations: 79.34 kB / 400.1 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.2861, allocations: 108.1 kB / 400.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.2865, allocations: 357.3 kB / 400.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2867, allocations: 71.69 kB / 400.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.2869, allocations: 139.4 kB / 400.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.2871, allocations: 144.9 kB / 400.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.2872, allocations: 30.47 kB / 401 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.2873, allocations: 30.03 kB / 401 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.2874, allocations: 65.95 kB / 401.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.2875, allocations: 126.7 kB / 401.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.288, allocations: 344.1 kB / 401.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.288, allocations: 5.188 kB / 401.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.288, allocations: 0 / 401.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.288, allocations: 0 / 401.5 MB, free: 6.492 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.001476/0.2894, allocations: 0.5752 MB / 402.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2895, allocations: 13.2 kB / 402.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.2896, allocations: 31.53 kB / 402.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.2899, allocations: 196.3 kB / 402.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2899, allocations: 21.31 kB / 402.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.29, allocations: 20.59 kB / 402.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.2907, allocations: 351.8 kB / 402.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2907, allocations: 0 / 402.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.2908, allocations: 10.75 kB / 402.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2908, allocations: 5.219 kB / 402.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.2916, allocations: 273.6 kB / 403 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.2931, allocations: 0.9245 MB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2951, allocations: 428.3 kB / 404.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.2956, allocations: 136.2 kB / 404.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.2956, allocations: 2.875 kB / 404.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2957, allocations: 37.52 kB / 404.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.2957, allocations: 0 / 404.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004952/0.3006, allocations: 0.9429 MB / 405.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3006, allocations: 54.81 kB / 405.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3008, allocations: 208.1 kB / 405.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3009, allocations: 27.08 kB / 405.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.301, allocations: 162.6 kB / 405.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.301, allocations: 54.56 kB / 406 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.3011, allocations: 39.5 kB / 406 MB, free: 4.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.3012, allocations: 327.8 kB / 406.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3015, allocations: 106.6 kB / 406.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.3019, allocations: 123.5 kB / 406.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.3025, allocations: 236.4 kB / 406.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3025, allocations: 2 kB / 406.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002861/0.3054, allocations: 0.6279 MB / 407.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3054, allocations: 9.828 kB / 407.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3054, allocations: 1.406 kB / 407.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007472/0.3061, allocations: 215.9 kB / 407.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3063, allocations: 37.2 kB / 407.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.3128, allocations: 2.593 MB / 410.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.3131, allocations: 34.25 kB / 410.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.3131, allocations: 7.922 kB / 410.3 MB, free: 1.633 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.0001304/0.3132, allocations: 135.5 kB / 410.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.3133, allocations: 25.27 kB / 410.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.3133, allocations: 26.92 kB / 410.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3133, allocations: 1.531 kB / 410.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3133, allocations: 4 kB / 410.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3133, allocations: 3.938 kB / 410.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3136, allocations: 219.5 kB / 410.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3136, allocations: 1.125 kB / 410.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3138, allocations: 26.48 kB / 410.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006028/0.3144, allocations: 227.2 kB / 411 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3144, allocations: 5.344 kB / 411 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006349/0.3207, allocations: 2.585 MB / 413.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3207, allocations: 8 kB / 413.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.324, allocations: 0.8391 MB / 414.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3241, allocations: 24.75 kB / 414.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3241, allocations: 5.344 kB / 414.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.3244, allocations: 30 kB / 414.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.3244, allocations: 12.61 kB / 414.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3245, allocations: 3.5 kB / 414.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3246, allocations: 153.5 kB / 414.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3246, allocations: 4.062 kB / 414.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.3251, allocations: 81.8 kB / 414.7 MB, free: 14.61 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.0001205/0.3252, allocations: 103.2 kB / 414.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.3268, allocations: 444.8 kB / 415.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3268, allocations: 0 / 415.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.3278, allocations: 323.9 kB / 415.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3282, allocations: 35.5 kB / 415.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3295, allocations: 0.5494 MB / 416.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3296, allocations: 136.5 kB / 416.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.3297, allocations: 12.36 kB / 416.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3297, allocations: 18 kB / 416.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3297, allocations: 0 / 416.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Templates: time 0.009997/0.3397, allocations: 4.929 MB / 421.2 MB, free: 10.21 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: 5.134370066225529]