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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB 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.002081/0.002081, allocations: 63.84 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2817, allocations: 53.32 MB / 422.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004122/0.2858, allocations: 2.737 MB / 425 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2874, allocations: 0.7089 MB / 425.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.2875, allocations: 8 kB / 425.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.2877, allocations: 43.58 kB / 425.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.2879, allocations: 87.2 kB / 425.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.2883, allocations: 107.8 kB / 426 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.2887, allocations: 366.5 kB / 426.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2889, allocations: 60.72 kB / 426.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.2892, allocations: 143.5 kB / 426.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.2894, allocations: 171.3 kB / 426.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.2895, allocations: 32 kB / 426.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/0.2896, allocations: 32 kB / 426.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.2896, allocations: 63.81 kB / 426.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.2898, allocations: 147.3 kB / 427 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.2902, allocations: 354.5 kB / 427.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2902, allocations: 0 / 427.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2902, allocations: 0 / 427.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.2902, allocations: 4 kB / 427.3 MB, free: 2.938 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.001625/0.2918, allocations: 0.6468 MB / 428 MB, free: 2.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2919, allocations: 8.031 kB / 428 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.2921, allocations: 40.73 kB / 428 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.2925, allocations: 264.9 kB / 428.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2925, allocations: 16.81 kB / 428.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.2926, allocations: 20.38 kB / 428.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.2933, allocations: 294.9 kB / 428.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2933, allocations: 3.938 kB / 428.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2933, allocations: 16 kB / 428.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.2933, allocations: 4 kB / 428.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.2942, allocations: 269.6 kB / 428.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.296, allocations: 1.066 MB / 429.9 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.2981, allocations: 426.3 kB / 430.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.2985, allocations: 140.7 kB / 430.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.2986, allocations: 11.92 kB / 430.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2986, allocations: 30.56 kB / 430.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.2986, allocations: 0 / 430.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005309/0.3039, allocations: 1.021 MB / 431.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.304, allocations: 55.34 kB / 431.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3042, allocations: 229 kB / 431.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3043, allocations: 25.7 kB / 431.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3044, allocations: 164.2 kB / 432 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.3044, allocations: 51.62 kB / 432.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.3045, allocations: 37.64 kB / 432.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3047, allocations: 326.8 kB / 432.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.3051, allocations: 111.9 kB / 432.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.3054, allocations: 125.6 kB / 432.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.3061, allocations: 232.6 kB / 432.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3061, allocations: 0 / 432.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003076/0.3092, allocations: 0.6307 MB / 433.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3092, allocations: 4 kB / 433.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3092, allocations: 0 / 433.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007683/0.31, allocations: 224.6 kB / 433.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3102, allocations: 31.98 kB / 433.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/0.3175, allocations: 2.743 MB / 436.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.3178, allocations: 39.94 kB / 436.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.3178, allocations: 7.984 kB / 436.6 MB, free: 9.254 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.0001793/0.318, allocations: 134.2 kB / 436.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.318, allocations: 19.91 kB / 436.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.3181, allocations: 29.77 kB / 436.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3181, allocations: 0 / 436.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3181, allocations: 0 / 436.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3181, allocations: 4 kB / 436.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.3185, allocations: 333.2 kB / 437.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3185, allocations: 0 / 437.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.3187, allocations: 27.98 kB / 437.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.3193, allocations: 220.7 kB / 437.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.3194, allocations: 7.984 kB / 437.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006973/0.3263, allocations: 2.744 MB / 440.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3263, allocations: 3.938 kB / 440.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.3298, allocations: 0.8434 MB / 440.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3299, allocations: 100.9 kB / 441 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3299, allocations: 4 kB / 441 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.3302, allocations: 36.03 kB / 441 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.3303, allocations: 11.98 kB / 441.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3303, allocations: 4 kB / 441.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3305, allocations: 160.5 kB / 441.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3305, allocations: 0 / 441.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.331, allocations: 79.89 kB / 441.3 MB, free: 4.27 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.0001487/0.3311, allocations: 103.2 kB / 441.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.3328, allocations: 442.4 kB / 441.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3328, allocations: 0 / 441.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3339, allocations: 330 kB / 442.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3343, allocations: 32.66 kB / 442.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3357, allocations: 0.5724 MB / 442.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.336, allocations: 0.7476 MB / 443.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.625e-05/0.3361, allocations: 17.53 kB / 443.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.3362, allocations: 11.44 kB / 443.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3362, allocations: 4 kB / 443.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Templates: time 0.009684/0.3458, allocations: 5.034 MB / 448.6 MB, free: 12.93 MB / 366.1 MB 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] Reference file matches