Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 77.98 kB / 20.67 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 147.3 kB / 23.94 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.54e-05, allocations: 11.47 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003289/0.003315, allocations: 2.517 MB / 321.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009857/0.0043, allocations: 0.6455 MB / 322.1 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.00442, allocations: 4.344 kB / 322.1 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.004566, allocations: 41.69 kB / 322.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.004699, allocations: 82.91 kB / 322.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.004991, allocations: 102.2 kB / 322.3 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.00531, allocations: 368.6 kB / 322.7 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.005457, allocations: 63.34 kB / 322.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.005707, allocations: 208.8 kB / 322.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.005895, allocations: 121.2 kB / 323.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.005944, allocations: 30.44 kB / 323.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.006, allocations: 31.31 kB / 323.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.006059, allocations: 69.94 kB / 323.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.006174, allocations: 110.1 kB / 323.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.006535, allocations: 361 kB / 323.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.006538, allocations: 3.938 kB / 323.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006539, allocations: 4 kB / 323.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.006544, allocations: 0 / 323.7 MB, free: 0.6602 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.001307/0.007852, allocations: 0.572 MB / 324.2 MB, free: 272 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.007886, allocations: 10.61 kB / 324.2 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.007966, allocations: 39.08 kB / 324.3 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.008243, allocations: 196.5 kB / 324.5 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.00826, allocations: 17.12 kB / 324.5 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.008304, allocations: 24.94 kB / 324.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.00902, allocations: 349.2 kB / 324.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.009031, allocations: 192 / 324.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.009061, allocations: 7.156 kB / 324.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.009074, allocations: 8.906 kB / 324.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.009891, allocations: 273.3 kB / 325.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.01155, allocations: 0.9192 MB / 326.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.01352, allocations: 430.7 kB / 326.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.01393, allocations: 137.7 kB / 326.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01395, allocations: 2.312 kB / 326.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.01398, allocations: 32.69 kB / 326.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.01398, allocations: 1.094 kB / 326.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005082/0.01907, allocations: 0.943 MB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.01911, allocations: 53.52 kB / 327.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01936, allocations: 204.6 kB / 327.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.01939, allocations: 30.8 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01954, allocations: 166.9 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.0196, allocations: 61.91 kB / 328.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.01969, allocations: 34.56 kB / 328.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.01987, allocations: 328.6 kB / 328.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.02025, allocations: 105.8 kB / 328.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.02063, allocations: 129.8 kB / 328.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.02134, allocations: 225.9 kB / 328.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02134, allocations: 0 / 328.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003009/0.02435, allocations: 0.64 MB / 329.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.02437, allocations: 6.875 kB / 329.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.02438, allocations: 0 / 329.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.02514, allocations: 216.8 kB / 329.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.02531, allocations: 36.66 kB / 329.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/0.03254, allocations: 2.594 MB / 332.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.03285, allocations: 35.33 kB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.03287, allocations: 4.844 kB / 332.4 MB, free: 11.77 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.0001872/0.03306, allocations: 135 kB / 332.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.03311, allocations: 17.56 kB / 332.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.03317, allocations: 24.95 kB / 332.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.03317, allocations: 2.312 kB / 332.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.03317, allocations: 0 / 332.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.03318, allocations: 1.094 kB / 332.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.0336, allocations: 219.4 kB / 332.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0336, allocations: 0 / 332.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.03376, allocations: 35.06 kB / 332.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006812/0.03444, allocations: 226.7 kB / 333.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.03446, allocations: 2.094 kB / 333.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006908/0.04137, allocations: 2.587 MB / 335.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.04137, allocations: 5.438 kB / 335.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.04469, allocations: 0.8399 MB / 336.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.04474, allocations: 21.12 kB / 336.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.04477, allocations: 13.12 kB / 336.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.04507, allocations: 34.12 kB / 336.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.0451, allocations: 8.953 kB / 336.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.04513, allocations: 11.23 kB / 336.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.04527, allocations: 148.6 kB / 336.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04527, allocations: 1.344 kB / 336.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.04574, allocations: 81.42 kB / 336.8 MB, free: 8.758 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.0001536/0.0459, allocations: 102.9 kB / 336.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.04748, allocations: 441.4 kB / 337.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.04749, allocations: 0 / 337.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.04857, allocations: 323.7 kB / 337.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.0489, allocations: 31.69 kB / 337.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.05015, allocations: 0.5291 MB / 338.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.05028, allocations: 133.8 kB / 338.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.825e-05/0.05035, allocations: 17.47 kB / 338.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.05039, allocations: 16.44 kB / 338.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.05039, allocations: 8 kB / 338.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of Templates: time 0.009114/0.0595, allocations: 4.643 MB / 343 MB, free: 2.977 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.4785251803696156]