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.001726/0.001726, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00216/0.00216, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001541/0.001541, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2831, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004506/0.2876, allocations: 2.555 MB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2889, allocations: 0.6817 MB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2891, allocations: 4 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.2892, allocations: 39.58 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.2894, allocations: 79.27 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.2897, allocations: 115.8 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.2901, allocations: 358.5 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.2903, allocations: 68.89 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.2906, allocations: 155.5 kB / 436.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.2909, allocations: 159.4 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.2909, allocations: 35.94 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.291, allocations: 32 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.2911, allocations: 71.75 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2912, allocations: 119.5 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.2916, allocations: 354.3 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2917, allocations: 0 / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2917, allocations: 0 / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2917, allocations: 0 / 437.1 MB, free: 1.934 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.001594/0.2933, allocations: 0.5814 MB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2933, allocations: 12.02 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.2935, allocations: 36.75 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.2939, allocations: 211 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.2939, allocations: 16.81 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.294, allocations: 16.38 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.2947, allocations: 350.3 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2947, allocations: 4 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.2947, allocations: 8 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2947, allocations: 7.938 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/0.2957, allocations: 269.6 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.2976, allocations: 0.9302 MB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.2998, allocations: 426.3 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.3002, allocations: 136.8 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3002, allocations: 0 / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3002, allocations: 38.5 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.3003, allocations: 0 / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005577/0.3058, allocations: 0.947 MB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3059, allocations: 55.41 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3062, allocations: 207.1 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.3062, allocations: 29.7 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3063, allocations: 168.2 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.3064, allocations: 55.52 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.3065, allocations: 37.69 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3066, allocations: 326.8 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.307, allocations: 111.9 kB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3074, allocations: 121.6 kB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.3081, allocations: 227.2 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3081, allocations: 4 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003257/0.3113, allocations: 0.6331 MB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3113, allocations: 7.938 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3113, allocations: 0 / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007837/0.3121, allocations: 220.7 kB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.3123, allocations: 43.86 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/0.3198, allocations: 2.586 MB / 445.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.3201, allocations: 35.97 kB / 445.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.3201, allocations: 11.98 kB / 445.9 MB, free: 8.789 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.0001613/0.3203, allocations: 125.8 kB / 446.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.3203, allocations: 23.8 kB / 446.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3204, allocations: 21.47 kB / 446.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3204, allocations: 3.984 kB / 446.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3204, allocations: 3.938 kB / 446.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3204, allocations: 0 / 446.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.3207, allocations: 233.1 kB / 446.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3207, allocations: 0 / 446.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3209, allocations: 27.98 kB / 446.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006711/0.3216, allocations: 216.6 kB / 446.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3216, allocations: 7.984 kB / 446.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007527/0.3291, allocations: 2.593 MB / 449.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3291, allocations: 3.969 kB / 449.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.3329, allocations: 0.841 MB / 450 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3329, allocations: 27.77 kB / 450 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.333, allocations: 0 / 450 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.3333, allocations: 31.97 kB / 450.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3333, allocations: 11.97 kB / 450.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.3334, allocations: 12.06 kB / 450.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3335, allocations: 156.6 kB / 450.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3335, allocations: 0 / 450.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.334, allocations: 75.89 kB / 450.3 MB, free: 4.227 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.000139/0.3341, allocations: 103.2 kB / 450.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3359, allocations: 442.4 kB / 450.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3359, allocations: 0 / 450.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3371, allocations: 322.5 kB / 451.2 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3374, allocations: 31.92 kB / 451.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3389, allocations: 0.5946 MB / 451.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3391, allocations: 129.9 kB / 451.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.3391, allocations: 19.42 kB / 451.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3391, allocations: 4 kB / 452 MB, free: 2.516 MB / 350.1 MB Notification: Performance of Templates: time 0.006734/0.3459, allocations: 4.118 MB / 456.1 MB, free: 14.39 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/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: 7.542069096991327]