Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 161 kB / 24.99 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.992/0.992, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.754e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002907/0.002935, allocations: 2.727 MB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.00388, allocations: 0.7049 MB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.003978, allocations: 4 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.004107, allocations: 43.58 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.004216, allocations: 91.14 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.00449, allocations: 111.7 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.00475, allocations: 374.3 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004892, allocations: 72.84 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.005127, allocations: 199.6 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.00526, allocations: 135.6 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.005294, allocations: 28 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.005353, allocations: 35.98 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.005392, allocations: 63.81 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.00547, allocations: 107.7 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.005706, allocations: 255.1 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.00571, allocations: 4 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005711, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005715, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 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.0007577/0.006473, allocations: 0.6363 MB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.006505, allocations: 11.98 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.006639, allocations: 60.73 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.00686, allocations: 205.1 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.006873, allocations: 12.88 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.006911, allocations: 32.25 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.00727, allocations: 300.7 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.007279, allocations: 4.188 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.0073, allocations: 8.375 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.00731, allocations: 11.94 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.007493, allocations: 102.8 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.008459, allocations: 1.01 MB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.009088, allocations: 218.9 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.009204, allocations: 63.66 kB / 280.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.009225, allocations: 4 kB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.009249, allocations: 41.39 kB / 280.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.009251, allocations: 0 / 280.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001657/0.01091, allocations: 0.563 MB / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.01094, allocations: 51.41 kB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.01108, allocations: 249.8 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.0111, allocations: 37.69 kB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.01118, allocations: 207.1 kB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.01122, allocations: 51.52 kB / 281.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.01127, allocations: 47.34 kB / 281.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01138, allocations: 0.4962 MB / 282.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.01146, allocations: 35.97 kB / 282.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.01154, allocations: 54.47 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.01169, allocations: 103.4 kB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01169, allocations: 0 / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00093/0.01262, allocations: 387.7 kB / 282.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01264, allocations: 8 kB / 282.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.01264, allocations: 0 / 282.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.01305, allocations: 151.5 kB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.01314, allocations: 39.92 kB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.01552, allocations: 2.392 MB / 285.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01563, allocations: 31.88 kB / 285.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01564, allocations: 7.984 kB / 285.5 MB, free: 4.785 MB / 266.7 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 9.452e-05/0.01573, allocations: 164.5 kB / 285.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.01577, allocations: 19.91 kB / 285.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.0158, allocations: 29.41 kB / 285.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.0158, allocations: 8.016 kB / 285.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.0158, allocations: 0 / 285.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.0158, allocations: 0 / 285.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.016, allocations: 224.4 kB / 285.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.016, allocations: 0 / 285.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.01608, allocations: 27.98 kB / 286 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.01641, allocations: 151.5 kB / 286.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01642, allocations: 7.984 kB / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.01854, allocations: 2.379 MB / 288.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01854, allocations: 8.062 kB / 288.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.01956, allocations: 0.5562 MB / 289.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01958, allocations: 19.88 kB / 289.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01959, allocations: 0 / 289.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.0197, allocations: 31.95 kB / 289.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01974, allocations: 7.984 kB / 289.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.01975, allocations: 7.984 kB / 289.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.01984, allocations: 183.1 kB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01984, allocations: 0 / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00028/0.02012, allocations: 79.89 kB / 289.4 MB, free: 0.7109 MB / 266.7 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 9.285e-05/0.02022, allocations: 103.2 kB / 289.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.02076, allocations: 344.4 kB / 289.8 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02076, allocations: 0 / 289.8 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.02111, allocations: 289.4 kB / 290.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.02134, allocations: 39.92 kB / 290.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.02222, allocations: 480 kB / 290.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.02227, allocations: 79.92 kB / 290.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.44e-05/0.02231, allocations: 21.47 kB / 290.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.02235, allocations: 16.5 kB / 290.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02235, allocations: 0 / 290.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Templates: time 0.005862/0.02821, allocations: 4.963 MB / 295.7 MB, free: 10.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8522020280361176]