Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.892e-05, allocations: 6.25 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004093/0.004122, allocations: 2.518 MB / 269.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.005373, allocations: 0.6465 MB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.005482, allocations: 4 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.005645, allocations: 51.5 kB / 270.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.005808, allocations: 75.28 kB / 270.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.006116, allocations: 107.7 kB / 270.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.006553, allocations: 374.4 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.006724, allocations: 64.88 kB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.007032, allocations: 195.6 kB / 271.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.00725, allocations: 131.6 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.007309, allocations: 32 kB / 271.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.007366, allocations: 28 kB / 271.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.007443, allocations: 75.72 kB / 271.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.007577, allocations: 103.8 kB / 271.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.008015, allocations: 362.8 kB / 272.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.008018, allocations: 0 / 272.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008019, allocations: 0 / 272.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.008024, allocations: 0 / 272.1 MB, free: 1.922 MB / 250.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.001576/0.0096, allocations: 0.5794 MB / 272.6 MB, free: 1.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.009638, allocations: 8.922 kB / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.009752, allocations: 48.75 kB / 272.7 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.01013, allocations: 210.1 kB / 272.9 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.01016, allocations: 16.88 kB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.01021, allocations: 16.38 kB / 272.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.01099, allocations: 351.5 kB / 273.3 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.011, allocations: 192 / 273.3 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.01104, allocations: 12.38 kB / 273.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.01105, allocations: 7.938 kB / 273.3 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.01188, allocations: 269.8 kB / 273.6 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.01368, allocations: 0.9232 MB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.01574, allocations: 426.3 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.01617, allocations: 132.8 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.01619, allocations: 8 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.01623, allocations: 38.56 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.01623, allocations: 0 / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.005391/0.02162, allocations: 0.9508 MB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.02169, allocations: 55.41 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.02198, allocations: 206.8 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.02202, allocations: 25.7 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.02218, allocations: 168.3 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.02225, allocations: 51.59 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.02234, allocations: 33.7 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.02255, allocations: 334.8 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.02292, allocations: 99.94 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.0233, allocations: 128.6 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.02404, allocations: 225.5 kB / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02404, allocations: 0 / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003162/0.0272, allocations: 0.6423 MB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.02722, allocations: 6.656 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.02723, allocations: 4 kB / 278 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.02853, allocations: 280.5 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.02872, allocations: 31.97 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/0.03637, allocations: 2.601 MB / 280.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.03668, allocations: 31.92 kB / 280.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.0367, allocations: 12.09 kB / 280.9 MB, free: 8.711 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 0.0001879/0.03689, allocations: 133.8 kB / 281.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.03696, allocations: 19.91 kB / 281.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.03702, allocations: 33.45 kB / 281.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.03702, allocations: 4 kB / 281.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.03702, allocations: 0 / 281.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.03703, allocations: 0 / 281.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.03737, allocations: 225.1 kB / 281.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.03737, allocations: 0 / 281.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.03754, allocations: 27.97 kB / 281.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.03874, allocations: 276.6 kB / 281.6 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.03877, allocations: 7.984 kB / 281.6 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007446/0.04622, allocations: 2.581 MB / 284.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04622, allocations: 0 / 284.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.04985, allocations: 0.8473 MB / 285.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.04989, allocations: 19.88 kB / 285.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.04992, allocations: 0 / 285.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.05022, allocations: 39.97 kB / 285.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.05027, allocations: 12.06 kB / 285.1 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.05029, allocations: 8 kB / 285.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.05045, allocations: 152.4 kB / 285.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05045, allocations: 0 / 285.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.05092, allocations: 75.89 kB / 285.4 MB, free: 4.098 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 0.0001489/0.05107, allocations: 111.2 kB / 285.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.05277, allocations: 450.2 kB / 285.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.05277, allocations: 0 / 285.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.05397, allocations: 318.5 kB / 286.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.05433, allocations: 35.92 kB / 286.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.05574, allocations: 0.5241 MB / 286.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.05589, allocations: 137.8 kB / 286.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.05595, allocations: 5.5 kB / 286.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.056, allocations: 16.5 kB / 287 MB, free: 2.438 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.056, allocations: 0 / 287 MB, free: 2.438 MB / 266.7 MB Notification: Performance of Templates: time 0.1311/0.1871, allocations: 4.677 MB / 291.6 MB, free: 32.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.406569999991916]