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.001489/0.001489, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001486/0.001486, allocations: 169.6 kB / 25.03 MB, free: 8.422 MB / 18.57 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.395/1.395, allocations: 158.6 MB / 186.8 MB, free: 2.848 MB / 170.7 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 2.535e-06/2.535e-06, allocations: 0 / 250.4 MB, free: 4.031 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.578e-05/3.831e-05, allocations: 5.406 kB / 250.4 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.007278/0.007316, allocations: 2.501 MB / 252.9 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.009902, allocations: 0.6748 MB / 253.5 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.0101, allocations: 11.94 kB / 253.5 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.01034, allocations: 43.52 kB / 253.6 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.01065, allocations: 79.27 kB / 253.7 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.01115, allocations: 107.7 kB / 253.8 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007255/0.01188, allocations: 370.4 kB / 254.1 MB, free: 228 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.01213, allocations: 56.91 kB / 254.2 MB, free: 168 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.01266, allocations: 203.6 kB / 254.4 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.01301, allocations: 127.6 kB / 254.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.01311, allocations: 32 kB / 254.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.01319, allocations: 31.94 kB / 254.6 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.01331, allocations: 71.73 kB / 254.6 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.01354, allocations: 103.8 kB / 254.7 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.01427, allocations: 366.8 kB / 255.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01427, allocations: 0 / 255.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01427, allocations: 0 / 255.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.01428, allocations: 0 / 255.1 MB, free: 15.25 MB / 250.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.002593/0.01687, allocations: 0.5755 MB / 255.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.01694, allocations: 11.98 kB / 255.7 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.01711, allocations: 40.8 kB / 255.7 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.01775, allocations: 206.2 kB / 255.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.01779, allocations: 16.88 kB / 256 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.01787, allocations: 16.38 kB / 256 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.01917, allocations: 359.5 kB / 256.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.01919, allocations: 4.172 kB / 256.3 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.01924, allocations: 12.38 kB / 256.3 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.01926, allocations: 7.938 kB / 256.3 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.02062, allocations: 265.8 kB / 256.6 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.02369, allocations: 0.9347 MB / 257.5 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.02735, allocations: 430.2 kB / 258 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.02803, allocations: 132.8 kB / 258.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.02807, allocations: 8 kB / 258.1 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.02812, allocations: 38.56 kB / 258.1 MB, free: 12.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.02812, allocations: 0 / 258.1 MB, free: 12.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.009081/0.03721, allocations: 0.9508 MB / 259.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.03728, allocations: 51.41 kB / 259.1 MB, free: 11.03 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.03774, allocations: 211 kB / 259.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/0.03781, allocations: 25.7 kB / 259.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.03803, allocations: 160.3 kB / 259.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.03814, allocations: 51.59 kB / 259.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.0383, allocations: 37.69 kB / 259.6 MB, free: 10.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.03857, allocations: 330.8 kB / 259.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.03925, allocations: 103.9 kB / 260 MB, free: 10.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.03994, allocations: 125.6 kB / 260.2 MB, free: 9.969 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.0413, allocations: 228 kB / 260.4 MB, free: 9.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.0413, allocations: 0 / 260.4 MB, free: 9.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.005386/0.04669, allocations: 0.6384 MB / 261 MB, free: 9.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.04672, allocations: 11.98 kB / 261 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.04673, allocations: 0 / 261 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.0489, allocations: 280.5 kB / 261.3 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.04921, allocations: 35.91 kB / 261.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.06241, allocations: 2.599 MB / 263.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.0629, allocations: 31.88 kB / 264 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.06295, allocations: 11.98 kB / 264 MB, free: 6.027 MB / 250.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 0.000273/0.06322, allocations: 129.8 kB / 264.1 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.06335, allocations: 23.97 kB / 264.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.06345, allocations: 29.39 kB / 264.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.06346, allocations: 4 kB / 264.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.06346, allocations: 0 / 264.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.06346, allocations: 0 / 264.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.06409, allocations: 221.1 kB / 264.4 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.0641, allocations: 0 / 264.4 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.06436, allocations: 27.98 kB / 264.4 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.06644, allocations: 280.6 kB / 264.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.06647, allocations: 0 / 264.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/0.07922, allocations: 2.593 MB / 267.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.07923, allocations: 0 / 267.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00614/0.08537, allocations: 0.8473 MB / 268.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.08545, allocations: 15.94 kB / 268.1 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.0855, allocations: 8 kB / 268.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.08596, allocations: 39.91 kB / 268.2 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.08603, allocations: 7.984 kB / 268.2 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.08606, allocations: 7.984 kB / 268.2 MB, free: 1.641 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002372/0.0863, allocations: 152.4 kB / 268.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0863, allocations: 4 kB / 268.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008092/0.08711, allocations: 79.84 kB / 268.4 MB, free: 1.41 MB / 250.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 0.0001935/0.0873, allocations: 103.2 kB / 268.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.08952, allocations: 441.5 kB / 269 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.08952, allocations: 3.938 kB / 269 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.09107, allocations: 326.5 kB / 269.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.09158, allocations: 27.98 kB / 269.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.09344, allocations: 0.5306 MB / 269.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.09365, allocations: 129.9 kB / 270 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.09374, allocations: 17.47 kB / 270 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.09379, allocations: 16.5 kB / 270 MB, free: 15.76 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.09379, allocations: 0 / 270 MB, free: 15.76 MB / 266.7 MB Notification: Performance of Templates: time 0.01026/0.104, allocations: 4.689 MB / 274.7 MB, free: 11.05 MB / 266.7 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.5203523389063776]