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.00146/0.00146, allocations: 84.84 kB / 21.43 MB, free: 296 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.001429/0.001429, allocations: 160.9 kB / 24.7 MB, free: 3.551 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.319/1.319, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.849e-05, allocations: 2.281 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003865/0.003893, allocations: 2.485 MB / 301.4 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.005216, allocations: 0.6864 MB / 302.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.005336, allocations: 7.938 kB / 302.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.005503, allocations: 35.64 kB / 302.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.005664, allocations: 91.14 kB / 302.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.00601, allocations: 99.83 kB / 302.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.00645, allocations: 370.3 kB / 302.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.006627, allocations: 60.91 kB / 302.8 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.006944, allocations: 211.5 kB / 303 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.007143, allocations: 119.7 kB / 303.1 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.007203, allocations: 32 kB / 303.1 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.007263, allocations: 32 kB / 303.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.007341, allocations: 71.73 kB / 303.2 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.007482, allocations: 99.75 kB / 303.3 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.007921, allocations: 366.9 kB / 303.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.007925, allocations: 0 / 303.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007927, allocations: 0 / 303.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.007939, allocations: 11.94 kB / 303.7 MB, free: 3.949 MB / 286.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.001501/0.00944, allocations: 0.5677 MB / 304.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.009484, allocations: 11.98 kB / 304.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.00956, allocations: 36.73 kB / 304.3 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.009976, allocations: 202.2 kB / 304.5 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.01, allocations: 16.88 kB / 304.5 MB, free: 3.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.01005, allocations: 20.38 kB / 304.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.0108, allocations: 351.5 kB / 304.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01081, allocations: 4.125 kB / 304.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.01084, allocations: 4.375 kB / 304.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.01085, allocations: 11.94 kB / 304.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.01165, allocations: 269.8 kB / 305.2 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.01338, allocations: 0.9232 MB / 306.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.01542, allocations: 430.3 kB / 306.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.01583, allocations: 136.8 kB / 306.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.01586, allocations: 4 kB / 306.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.01589, allocations: 34.56 kB / 306.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.01589, allocations: 0 / 306.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.005123/0.02101, allocations: 0.9469 MB / 307.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.02106, allocations: 51.41 kB / 307.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.02132, allocations: 207.1 kB / 307.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.02135, allocations: 25.7 kB / 307.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02148, allocations: 168.3 kB / 308.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.02154, allocations: 55.53 kB / 308.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.02164, allocations: 29.7 kB / 308.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.0218, allocations: 330.8 kB / 308.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.02216, allocations: 103.9 kB / 308.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.02254, allocations: 133.5 kB / 308.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.02326, allocations: 233.5 kB / 308.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02326, allocations: 4 kB / 308.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003087/0.02635, allocations: 0.6414 MB / 309.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.02637, allocations: 4 kB / 309.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.02638, allocations: 0 / 309.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.02718, allocations: 216.7 kB / 309.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.02737, allocations: 39.91 kB / 309.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.0346, allocations: 2.593 MB / 312.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.03489, allocations: 31.88 kB / 312.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.03491, allocations: 11.98 kB / 312.5 MB, free: 10.82 MB / 302.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.0001717/0.03508, allocations: 125.9 kB / 312.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.03514, allocations: 23.86 kB / 312.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.03519, allocations: 25.39 kB / 312.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.03519, allocations: 4 kB / 312.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.03519, allocations: 0 / 312.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.03519, allocations: 0 / 312.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.03553, allocations: 221.1 kB / 312.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.03553, allocations: 0 / 312.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.0357, allocations: 39.91 kB / 312.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006793/0.03638, allocations: 216.7 kB / 313.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.0364, allocations: 0 / 313.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/0.04332, allocations: 2.589 MB / 315.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.04332, allocations: 0 / 315.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.04682, allocations: 0.8434 MB / 316.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.04688, allocations: 19.86 kB / 316.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.04692, allocations: 8.062 kB / 316.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.04723, allocations: 35.91 kB / 316.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.04729, allocations: 11.98 kB / 316.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.04731, allocations: 7.984 kB / 316.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.04747, allocations: 148.4 kB / 316.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04747, allocations: 3.938 kB / 316.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.04796, allocations: 83.84 kB / 316.9 MB, free: 6.27 MB / 302.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.0001564/0.04812, allocations: 103.2 kB / 317 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.04982, allocations: 439 kB / 317.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.04982, allocations: 0 / 317.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.05102, allocations: 322.5 kB / 317.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.05139, allocations: 27.97 kB / 317.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.05284, allocations: 0.5139 MB / 318.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.05298, allocations: 137.8 kB / 318.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.05305, allocations: 9.484 kB / 318.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.05309, allocations: 16.5 kB / 318.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.0531, allocations: 0 / 318.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of Templates: time 0.1621/0.2152, allocations: 4.645 MB / 323.1 MB, free: 34.75 MB / 302.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.484597634524107]