Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001341/0.001341, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001477/0.001477, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 72.95 kB / 379.1 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2488, allocations: 53.37 MB / 432.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004245/0.253, allocations: 2.741 MB / 435.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2545, allocations: 0.7283 MB / 435.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.2546, allocations: 7.938 kB / 435.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2548, allocations: 47.56 kB / 435.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.2549, allocations: 79.28 kB / 436 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.2553, allocations: 103.8 kB / 436.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.2557, allocations: 362.6 kB / 436.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.2559, allocations: 66.86 kB / 436.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.2562, allocations: 143.5 kB / 436.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.2564, allocations: 167.3 kB / 436.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.2564, allocations: 36 kB / 436.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.2565, allocations: 36 kB / 436.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.2566, allocations: 67.75 kB / 437 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.2567, allocations: 151.3 kB / 437.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.2572, allocations: 342.6 kB / 437.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2572, allocations: 0 / 437.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2572, allocations: 0 / 437.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2572, allocations: 0 / 437.5 MB, free: 2.051 MB / 334.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.001589/0.2588, allocations: 0.5832 MB / 438 MB, free: 1.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2588, allocations: 8.031 kB / 438.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.259, allocations: 40.73 kB / 438.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.2594, allocations: 207 kB / 438.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2594, allocations: 12.81 kB / 438.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.2595, allocations: 20.38 kB / 438.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.2602, allocations: 306.9 kB / 438.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2602, allocations: 0 / 438.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.2602, allocations: 4 kB / 438.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2602, allocations: 8 kB / 438.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.2611, allocations: 269.5 kB / 438.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.2628, allocations: 1.039 MB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.2648, allocations: 430.3 kB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.2652, allocations: 132.8 kB / 440.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2652, allocations: 0 / 440.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2653, allocations: 38.56 kB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2653, allocations: 0 / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005356/0.2706, allocations: 0.95 MB / 441.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.2707, allocations: 63.34 kB / 441.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.271, allocations: 213 kB / 441.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.271, allocations: 29.7 kB / 441.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2711, allocations: 172.1 kB / 441.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.2712, allocations: 43.64 kB / 442 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.2713, allocations: 41.64 kB / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.2715, allocations: 330.8 kB / 442.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.2718, allocations: 103.9 kB / 442.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.2722, allocations: 125.6 kB / 442.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/0.273, allocations: 228.4 kB / 442.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.273, allocations: 4 kB / 442.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003178/0.2762, allocations: 0.6307 MB / 443.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.2762, allocations: 4 kB / 443.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2762, allocations: 4 kB / 443.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/0.2771, allocations: 220.6 kB / 443.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.2773, allocations: 39.97 kB / 443.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.2849, allocations: 2.632 MB / 446.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.2852, allocations: 35.89 kB / 446.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2852, allocations: 11.94 kB / 446.4 MB, free: 8.785 MB / 350.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.0001964/0.2854, allocations: 141.8 kB / 446.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.2855, allocations: 19.89 kB / 446.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.2855, allocations: 21.78 kB / 446.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2856, allocations: 4 kB / 446.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2856, allocations: 0 / 446.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2856, allocations: 3.984 kB / 446.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.286, allocations: 304.3 kB / 446.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.286, allocations: 0 / 446.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2862, allocations: 39.97 kB / 446.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006964/0.2869, allocations: 216.6 kB / 447.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2869, allocations: 4 kB / 447.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007343/0.2942, allocations: 2.647 MB / 449.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2942, allocations: 0 / 449.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.2978, allocations: 0.8434 MB / 450.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.2979, allocations: 19.83 kB / 450.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2979, allocations: 4 kB / 450.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.2982, allocations: 31.97 kB / 450.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.2983, allocations: 19.86 kB / 450.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.2983, allocations: 7.984 kB / 450.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.2985, allocations: 160.5 kB / 450.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2985, allocations: 0 / 450.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004776/0.2989, allocations: 79.89 kB / 450.9 MB, free: 4.043 MB / 350.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.0001439/0.2991, allocations: 99.23 kB / 451 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.3008, allocations: 446.3 kB / 451.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3008, allocations: 0 / 451.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.302, allocations: 326.5 kB / 451.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3024, allocations: 28.64 kB / 451.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3038, allocations: 0.5683 MB / 452.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3042, allocations: 0.7437 MB / 453.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.3043, allocations: 13.48 kB / 453.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.3043, allocations: 19.42 kB / 453.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of SimCode: time 1.813e-06/0.3043, allocations: 0 / 453.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01029/0.3146, allocations: 5.12 MB / 458.3 MB, free: 12.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.682832279242575]