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.001524/0.001524, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001629/0.001629, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.001564/0.001564, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2629, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003984/0.2669, allocations: 2.544 MB / 434.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2682, allocations: 0.6855 MB / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2684, allocations: 4 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2685, allocations: 47.52 kB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.2687, allocations: 83.27 kB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.269, allocations: 111.8 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.2694, allocations: 362.5 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2695, allocations: 63.42 kB / 435.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.2698, allocations: 139.5 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.27, allocations: 143.4 kB / 435.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.2701, allocations: 35.94 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.2701, allocations: 35.98 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.2702, allocations: 63.83 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2703, allocations: 127.4 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.2707, allocations: 358.3 kB / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2707, allocations: 0 / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2707, allocations: 0 / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.2708, allocations: 0 / 436.4 MB, free: 1.926 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.00145/0.2722, allocations: 0.5715 MB / 436.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2722, allocations: 12.03 kB / 436.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.2724, allocations: 40.73 kB / 437 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.2728, allocations: 211 kB / 437.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2728, allocations: 16.81 kB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.2728, allocations: 16.38 kB / 437.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.2735, allocations: 354.3 kB / 437.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2736, allocations: 7.984 kB / 437.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.2736, allocations: 4 kB / 437.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.2736, allocations: 8 kB / 437.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.2744, allocations: 273.5 kB / 437.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.276, allocations: 0.9186 MB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2779, allocations: 434.2 kB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.2783, allocations: 132.8 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2783, allocations: 4 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2784, allocations: 34.5 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2784, allocations: 0 / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004828/0.2832, allocations: 0.9548 MB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2832, allocations: 51.41 kB / 440.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.2835, allocations: 211.1 kB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2835, allocations: 25.7 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2836, allocations: 172.3 kB / 440.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.2837, allocations: 51.53 kB / 440.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.2838, allocations: 37.69 kB / 440.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2839, allocations: 326.8 kB / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.2843, allocations: 107.9 kB / 441.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2846, allocations: 121.6 kB / 441.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006732/0.2853, allocations: 232.3 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2853, allocations: 0 / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002769/0.2881, allocations: 0.6307 MB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2881, allocations: 11.94 kB / 442.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2881, allocations: 0 / 442.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/0.2888, allocations: 228.6 kB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.289, allocations: 27.98 kB / 442.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/0.2957, allocations: 2.589 MB / 445.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.296, allocations: 36 kB / 445.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.296, allocations: 8 kB / 445.1 MB, free: 8.789 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.0001824/0.2962, allocations: 140 kB / 445.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.2962, allocations: 23.8 kB / 445.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.2963, allocations: 17.47 kB / 445.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2963, allocations: 4 kB / 445.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2963, allocations: 0 / 445.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2963, allocations: 3.984 kB / 445.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2966, allocations: 233.1 kB / 445.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2966, allocations: 0 / 445.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2968, allocations: 23.98 kB / 445.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/0.2974, allocations: 220.6 kB / 445.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2974, allocations: 7.984 kB / 445.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.304, allocations: 2.581 MB / 448.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.304, allocations: 3.938 kB / 448.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.3071, allocations: 0.8392 MB / 449.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.3071, allocations: 27.8 kB / 449.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3071, allocations: 7.984 kB / 449.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.3074, allocations: 31.97 kB / 449.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3075, allocations: 11.97 kB / 449.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3075, allocations: 12.06 kB / 449.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.3076, allocations: 148.6 kB / 449.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3076, allocations: 0 / 449.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.3081, allocations: 83.83 kB / 449.5 MB, free: 4.223 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.0001352/0.3082, allocations: 103.2 kB / 449.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.3098, allocations: 450.3 kB / 450.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3098, allocations: 0 / 450.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3108, allocations: 314.6 kB / 450.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3111, allocations: 35.97 kB / 450.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3124, allocations: 0.5578 MB / 451 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.3125, allocations: 133.8 kB / 451.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.3126, allocations: 17.42 kB / 451.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.3126, allocations: 11.44 kB / 451.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3126, allocations: 0 / 451.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of Templates: time 0.00902/0.3217, allocations: 4.942 MB / 456.1 MB, free: 13.6 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/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_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.642297873273492]