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.0009132/0.0009132, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0008977/0.0008977, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9149/0.9149, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.533e-06/1.533e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.888e-05, allocations: 3.75 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002664/0.002683, allocations: 2.703 MB / 276.9 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.003557, allocations: 0.7025 MB / 277.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.003663, allocations: 7.938 kB / 277.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.003789, allocations: 45.33 kB / 277.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003899, allocations: 79.2 kB / 277.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.004177, allocations: 115.7 kB / 277.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.004445, allocations: 382.2 kB / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.004594, allocations: 60.89 kB / 278.3 MB, free: 348 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.004841, allocations: 203.6 kB / 278.5 MB, free: 144 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.004974, allocations: 131.6 kB / 278.6 MB, free: 12 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.005023, allocations: 28.05 kB / 278.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.005079, allocations: 36 kB / 278.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.005119, allocations: 71.69 kB / 278.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.005193, allocations: 103.8 kB / 278.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.00542, allocations: 255.1 kB / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005423, allocations: 0 / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005424, allocations: 0 / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005428, allocations: 0 / 279.1 MB, free: 15.53 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.0007295/0.006157, allocations: 0.6402 MB / 279.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.006193, allocations: 12.03 kB / 279.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.006366, allocations: 56.73 kB / 279.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.006615, allocations: 205 kB / 280 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.006634, allocations: 16.88 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.00667, allocations: 24.38 kB / 280 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.006981, allocations: 280.7 kB / 280.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.006991, allocations: 192 / 280.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.00701, allocations: 12.38 kB / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007017, allocations: 11.88 kB / 280.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.007128, allocations: 83.34 kB / 280.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.008059, allocations: 0.9754 MB / 281.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.008554, allocations: 206.9 kB / 281.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.008629, allocations: 55.66 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.008644, allocations: 4 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.008664, allocations: 33.39 kB / 281.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.008665, allocations: 4 kB / 281.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001509/0.01017, allocations: 0.5433 MB / 282.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.01019, allocations: 55.41 kB / 282.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01031, allocations: 257.7 kB / 282.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.01033, allocations: 33.7 kB / 282.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.01041, allocations: 211 kB / 282.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01045, allocations: 51.52 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.0105, allocations: 39.36 kB / 282.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01062, allocations: 0.504 MB / 283.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.01066, allocations: 27.97 kB / 283.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.01072, allocations: 43.34 kB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01083, allocations: 85.47 kB / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01083, allocations: 0 / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00088/0.01171, allocations: 376.7 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01172, allocations: 4 kB / 283.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01173, allocations: 0 / 283.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.01209, allocations: 163.5 kB / 284.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.01218, allocations: 27.98 kB / 284.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.01434, allocations: 2.356 MB / 286.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01445, allocations: 23.88 kB / 286.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01446, allocations: 11.98 kB / 286.5 MB, free: 7.746 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 8.68e-05/0.01455, allocations: 164.5 kB / 286.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.01459, allocations: 23.86 kB / 286.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.01461, allocations: 25.45 kB / 286.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01462, allocations: 4.031 kB / 286.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01462, allocations: 7.938 kB / 286.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01462, allocations: 0 / 286.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.0148, allocations: 177.1 kB / 286.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0148, allocations: 0 / 286.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.01488, allocations: 27.98 kB / 286.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.01519, allocations: 155.5 kB / 287 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.0152, allocations: 0 / 287 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.01723, allocations: 2.361 MB / 289.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01723, allocations: 0 / 289.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.0182, allocations: 0.5303 MB / 289.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.851e-05/0.01822, allocations: 15.86 kB / 289.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01824, allocations: 4 kB / 290 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.01836, allocations: 28 kB / 290 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.01838, allocations: 11.98 kB / 290 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.0184, allocations: 7.984 kB / 290 MB, free: 4.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.55e-05/0.01846, allocations: 171.1 kB / 290.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01846, allocations: 0 / 290.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.01874, allocations: 79.89 kB / 290.2 MB, free: 3.789 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.135e-05/0.01884, allocations: 103.1 kB / 290.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.0193, allocations: 339.1 kB / 290.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01931, allocations: 3.938 kB / 290.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.01964, allocations: 281.4 kB / 291 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01986, allocations: 31.97 kB / 291 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.02064, allocations: 479.4 kB / 291.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.02068, allocations: 83.97 kB / 291.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.02073, allocations: 13.48 kB / 291.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.02081, allocations: 98.19 kB / 291.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02082, allocations: 0 / 291.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of Templates: time 0.006155/0.02697, allocations: 5.262 MB / 296.9 MB, free: 13.03 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] 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","",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.728233865927905]