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.001354/0.001354, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001604/0.001604, allocations: 209 kB / 24.48 MB, free: 3.938 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001678/0.001678, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2393, allocations: 53.38 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004167/0.2434, allocations: 2.547 MB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2448, allocations: 0.6856 MB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2449, allocations: 4 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.245, allocations: 43.52 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.2452, allocations: 75.33 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.2455, allocations: 119.7 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.2459, allocations: 362.5 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2461, allocations: 56.89 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.2463, allocations: 151.5 kB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.2466, allocations: 139.4 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.2466, allocations: 28 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.604e-05/0.2467, allocations: 40 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.2468, allocations: 67.73 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2469, allocations: 127.4 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.2473, allocations: 358.3 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2473, allocations: 0 / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2473, allocations: 0 / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2473, allocations: 0 / 437.1 MB, free: 1.941 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.001419/0.2487, allocations: 0.5715 MB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2488, allocations: 12.03 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2489, allocations: 36.75 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.2493, allocations: 207 kB / 437.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2494, allocations: 16.81 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.2494, allocations: 24.38 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.2501, allocations: 350.3 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2501, allocations: 0 / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.2502, allocations: 12 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2502, allocations: 8 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.251, allocations: 265.6 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2527, allocations: 0.9264 MB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.2546, allocations: 426.3 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.255, allocations: 144.7 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.255, allocations: 4 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2551, allocations: 34.56 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.2551, allocations: 0 / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004962/0.26, allocations: 0.9506 MB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.2601, allocations: 55.41 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.2603, allocations: 211.1 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2603, allocations: 25.7 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2605, allocations: 168.3 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.2605, allocations: 55.52 kB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.2606, allocations: 33.7 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2608, allocations: 330.8 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2611, allocations: 103.9 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.2615, allocations: 121.6 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.2621, allocations: 232.2 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2622, allocations: 3.938 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002852/0.265, allocations: 0.6346 MB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.265, allocations: 8 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.265, allocations: 0 / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007453/0.2658, allocations: 224.6 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2659, allocations: 31.98 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.2728, allocations: 2.585 MB / 445.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.273, allocations: 36.02 kB / 445.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2731, allocations: 11.92 kB / 445.9 MB, free: 8.805 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.0001524/0.2732, allocations: 133.8 kB / 446 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.2733, allocations: 23.8 kB / 446.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.2733, allocations: 25.45 kB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2733, allocations: 4 kB / 446.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2733, allocations: 0 / 446.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2733, allocations: 0 / 446.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.2737, allocations: 225.2 kB / 446.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2737, allocations: 4 kB / 446.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2738, allocations: 27.98 kB / 446.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006719/0.2745, allocations: 224.6 kB / 446.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2745, allocations: 7.938 kB / 446.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.2812, allocations: 2.585 MB / 449.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.2812, allocations: 7.938 kB / 449.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.2845, allocations: 0.8389 MB / 450 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.2846, allocations: 27.75 kB / 450 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.2846, allocations: 4 kB / 450 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.2849, allocations: 31.97 kB / 450.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.285, allocations: 11.98 kB / 450.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.285, allocations: 4 kB / 450.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.2851, allocations: 156.7 kB / 450.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2851, allocations: 0 / 450.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00046/0.2856, allocations: 79.89 kB / 450.3 MB, free: 4.234 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.0001284/0.2857, allocations: 103.2 kB / 450.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2873, allocations: 442.3 kB / 450.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2873, allocations: 4 kB / 450.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.2884, allocations: 314.6 kB / 451.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2887, allocations: 34.8 kB / 451.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2901, allocations: 0.5946 MB / 451.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2903, allocations: 137.8 kB / 451.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.2903, allocations: 15.44 kB / 451.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2903, allocations: 0 / 451.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Templates: time 0.006663/0.297, allocations: 4.126 MB / 456.1 MB, free: 14.4 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.42730741482228]