Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002063/0.002063, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 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.00265/0.00265, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 8.035 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+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 47.92 kB / 378.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 53.37 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004388/0.2621, allocations: 2.753 MB / 434.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.264, allocations: 0.7206 MB / 435.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.2643, allocations: 11.88 kB / 435.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.2645, allocations: 39.58 kB / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.2647, allocations: 79.27 kB / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.2652, allocations: 111.8 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.2658, allocations: 354.6 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.266, allocations: 68.89 kB / 435.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.2663, allocations: 155.5 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.2666, allocations: 163.3 kB / 436.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.2667, allocations: 32 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2668, allocations: 35.98 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.2669, allocations: 67.77 kB / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.267, allocations: 143.3 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.2675, allocations: 359.9 kB / 436.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2675, allocations: 0 / 436.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2675, allocations: 0 / 436.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2675, allocations: 0 / 436.7 MB, free: 1.863 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.001727/0.2693, allocations: 0.5715 MB / 437.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2693, allocations: 8.031 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2695, allocations: 44.73 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.27, allocations: 203 kB / 437.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.27, allocations: 20.81 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.2701, allocations: 16.38 kB / 437.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.2708, allocations: 302.9 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2708, allocations: 0 / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.2708, allocations: 12 kB / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2708, allocations: 4 kB / 437.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.2717, allocations: 273.5 kB / 438.1 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2737, allocations: 1.031 MB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.2758, allocations: 430.3 kB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.2762, allocations: 140.8 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.2762, allocations: 0 / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.2763, allocations: 38.55 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.2763, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005548/0.2818, allocations: 0.9431 MB / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.2819, allocations: 51.41 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.2822, allocations: 225 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2822, allocations: 29.7 kB / 441 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2824, allocations: 168.1 kB / 441.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.2824, allocations: 43.64 kB / 441.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.2825, allocations: 41.64 kB / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2827, allocations: 330.8 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.2831, allocations: 103.9 kB / 441.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.2834, allocations: 121.6 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.2842, allocations: 240.4 kB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2842, allocations: 7.875 kB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003196/0.2874, allocations: 0.6229 MB / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2874, allocations: 8 kB / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2874, allocations: 0 / 442.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.2882, allocations: 220.7 kB / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2883, allocations: 27.98 kB / 442.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/0.2958, allocations: 2.643 MB / 445.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2961, allocations: 43.95 kB / 445.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.2961, allocations: 7.984 kB / 445.6 MB, free: 8.602 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.0001896/0.2963, allocations: 137.7 kB / 445.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.2964, allocations: 19.91 kB / 445.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.2965, allocations: 25.77 kB / 445.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2965, allocations: 0 / 445.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2965, allocations: 0 / 445.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2965, allocations: 96 / 445.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.2969, allocations: 316.2 kB / 446.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2969, allocations: 0 / 446.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2971, allocations: 27.98 kB / 446.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006942/0.2978, allocations: 216.7 kB / 446.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2978, allocations: 7.984 kB / 446.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/0.3051, allocations: 2.639 MB / 449 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3051, allocations: 0 / 449 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/0.3087, allocations: 0.8395 MB / 449.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.3087, allocations: 23.83 kB / 449.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.3088, allocations: 4 kB / 449.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.3091, allocations: 27.97 kB / 449.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.3092, allocations: 20.03 kB / 449.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3092, allocations: 4 kB / 449.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.3093, allocations: 168.4 kB / 450.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3093, allocations: 0 / 450.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.3099, allocations: 75.89 kB / 450.1 MB, free: 3.875 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.000142/0.31, allocations: 106.6 kB / 450.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3118, allocations: 445.3 kB / 450.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3118, allocations: 0 / 450.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.313, allocations: 318.6 kB / 451 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3134, allocations: 44.58 kB / 451 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3149, allocations: 0.5617 MB / 451.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3153, allocations: 0.7476 MB / 452.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.738e-05/0.3154, allocations: 17.47 kB / 452.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3155, allocations: 15.44 kB / 452.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3155, allocations: 0 / 452.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Templates: time 0.01077/0.3262, allocations: 5.104 MB / 457.5 MB, free: 12.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.923969808965921]