Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001376/0.001376, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001494/0.001494, allocations: 157.6 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.882e-05, allocations: 2.312 kB / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004208/0.004237, allocations: 2.707 MB / 276.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.005582, allocations: 0.6983 MB / 277.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.005749, allocations: 7.938 kB / 277.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.005916, allocations: 48.91 kB / 277.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.00609, allocations: 79.28 kB / 277.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.006458, allocations: 114.2 kB / 277.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.006846, allocations: 374.3 kB / 278.1 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.007024, allocations: 64.88 kB / 278.2 MB, free: 168 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.007425, allocations: 211.5 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.007629, allocations: 128.4 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.007679, allocations: 28 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.00785, allocations: 39.98 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.007907, allocations: 71.73 kB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.008017, allocations: 103.8 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.008294, allocations: 251.2 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.008297, allocations: 0 / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008298, allocations: 0 / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.008301, allocations: 0 / 279 MB, free: 15.35 MB / 266.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.0007469/0.009048, allocations: 0.6479 MB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.009078, allocations: 8.031 kB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.009199, allocations: 56.75 kB / 279.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.009398, allocations: 217 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.009412, allocations: 12.88 kB / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.009442, allocations: 20.38 kB / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.009743, allocations: 284.7 kB / 280.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.009752, allocations: 192 / 280.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.009768, allocations: 4.375 kB / 280.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.009777, allocations: 11.94 kB / 280.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.009888, allocations: 79.36 kB / 280.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/0.01075, allocations: 0.987 MB / 281.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.01124, allocations: 199 kB / 281.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.01131, allocations: 55.66 kB / 281.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.01133, allocations: 8 kB / 281.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.01135, allocations: 45.56 kB / 281.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.01135, allocations: 0 / 281.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001506/0.01286, allocations: 0.5385 MB / 282.2 MB, free: 12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.01288, allocations: 55.41 kB / 282.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.013, allocations: 258.7 kB / 282.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.01302, allocations: 25.7 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.0131, allocations: 211.1 kB / 282.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.01313, allocations: 51.52 kB / 282.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.01318, allocations: 43.34 kB / 282.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01329, allocations: 0.5001 MB / 283.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.01334, allocations: 19.98 kB / 283.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.01339, allocations: 55.27 kB / 283.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.0135, allocations: 90.14 kB / 283.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.0135, allocations: 0 / 283.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008517/0.01435, allocations: 372.7 kB / 283.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.01436, allocations: 4 kB / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.01437, allocations: 0 / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.01472, allocations: 155.5 kB / 284 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.0148, allocations: 35.97 kB / 284 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.01701, allocations: 2.352 MB / 286.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.0171, allocations: 31.81 kB / 286.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01711, allocations: 4 kB / 286.4 MB, free: 7.562 MB / 266.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 9.388e-05/0.01721, allocations: 164.6 kB / 286.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.01725, allocations: 28.02 kB / 286.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.01728, allocations: 25.45 kB / 286.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01728, allocations: 0 / 286.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01728, allocations: 3.938 kB / 286.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01729, allocations: 3.984 kB / 286.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.01754, allocations: 185.1 kB / 286.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01754, allocations: 0 / 286.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.808e-05/0.01762, allocations: 23.98 kB / 286.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.01793, allocations: 151.5 kB / 287 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01795, allocations: 11.98 kB / 287 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.02009, allocations: 2.352 MB / 289.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.02009, allocations: 3.938 kB / 289.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.02104, allocations: 0.5226 MB / 289.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.02106, allocations: 23.86 kB / 289.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.02108, allocations: 0 / 289.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.02119, allocations: 28.02 kB / 289.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.02121, allocations: 11.97 kB / 289.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.02122, allocations: 4.094 kB / 289.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.02129, allocations: 183.3 kB / 290.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02129, allocations: 0 / 290.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.02156, allocations: 79.89 kB / 290.2 MB, free: 3.594 MB / 266.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 9.32e-05/0.02165, allocations: 107.2 kB / 290.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.02213, allocations: 332.3 kB / 290.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02214, allocations: 0 / 290.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.02246, allocations: 273.5 kB / 290.9 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.02267, allocations: 35.97 kB / 290.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.02343, allocations: 482.8 kB / 291.4 MB, free: 2.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.02347, allocations: 79.97 kB / 291.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.02352, allocations: 13.48 kB / 291.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.0236, allocations: 98.17 kB / 291.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0236, allocations: 0 / 291.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of Templates: time 0.006981/0.03059, allocations: 5.267 MB / 296.9 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.88767828932032]