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.001271/0.001271, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00154/0.00154, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001562/0.001562, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2257, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003805/0.2296, allocations: 2.559 MB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2307, allocations: 0.6817 MB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.2309, allocations: 8 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.231, allocations: 35.58 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.2311, allocations: 83.27 kB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2315, allocations: 111.8 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.2318, allocations: 358.5 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.232, allocations: 72.89 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.2323, allocations: 151.5 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2325, allocations: 159.4 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.2326, allocations: 32 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.2326, allocations: 32 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.2327, allocations: 71.75 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2328, allocations: 119.5 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.2332, allocations: 354.3 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2332, allocations: 4 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2332, allocations: 0 / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.2332, allocations: 4 kB / 437.1 MB, free: 1.871 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.001594/0.2348, allocations: 0.5753 MB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2349, allocations: 8.031 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.235, allocations: 40.73 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2354, allocations: 207 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2354, allocations: 20.81 kB / 438 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.2355, allocations: 16.38 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.2362, allocations: 350.3 kB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2362, allocations: 0 / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.2363, allocations: 8 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2363, allocations: 7.938 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.2371, allocations: 265.6 kB / 438.6 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2388, allocations: 0.938 MB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.2409, allocations: 422.3 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.2414, allocations: 144.7 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2414, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.2414, allocations: 38.5 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2414, allocations: 0 / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005673/0.2471, allocations: 0.9423 MB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2471, allocations: 59.39 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.2474, allocations: 203.1 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2474, allocations: 33.7 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2475, allocations: 172.2 kB / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.2476, allocations: 55.52 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.2477, allocations: 37.69 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2478, allocations: 326.8 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.2482, allocations: 103.9 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.2486, allocations: 129.6 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.2493, allocations: 224.3 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2493, allocations: 0 / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003347/0.2527, allocations: 0.6307 MB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2527, allocations: 4 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2527, allocations: 3.984 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/0.2535, allocations: 224.6 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.2536, allocations: 35.92 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.2612, allocations: 2.589 MB / 445.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.2615, allocations: 35.86 kB / 445.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2615, allocations: 8 kB / 445.9 MB, free: 8.738 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.000162/0.2617, allocations: 133.9 kB / 446.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.2618, allocations: 23.8 kB / 446.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.2618, allocations: 17.47 kB / 446.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2618, allocations: 4 kB / 446.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.2618, allocations: 3.938 kB / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2618, allocations: 3.984 kB / 446.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.2621, allocations: 229.1 kB / 446.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2621, allocations: 0 / 446.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2623, allocations: 31.92 kB / 446.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006727/0.263, allocations: 216.7 kB / 446.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.263, allocations: 11.98 kB / 446.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007175/0.2702, allocations: 2.585 MB / 449.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2702, allocations: 8 kB / 449.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.2738, allocations: 0.8356 MB / 450 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.2738, allocations: 27.83 kB / 450 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2739, allocations: 8 kB / 450 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.2742, allocations: 27.97 kB / 450.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.2742, allocations: 11.97 kB / 450.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.2742, allocations: 8 kB / 450.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.2744, allocations: 152.6 kB / 450.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2744, allocations: 0 / 450.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.2749, allocations: 79.89 kB / 450.3 MB, free: 4.168 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.0001295/0.275, allocations: 107.2 kB / 450.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.2767, allocations: 442.4 kB / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2767, allocations: 0 / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.2778, allocations: 325.8 kB / 451.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2782, allocations: 27.98 kB / 451.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2795, allocations: 0.5637 MB / 451.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2797, allocations: 133.8 kB / 451.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.39e-05/0.2797, allocations: 13.42 kB / 451.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.2798, allocations: 15.44 kB / 451.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2798, allocations: 4 kB / 451.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of Templates: time 0.009334/0.2891, allocations: 4.986 MB / 456.9 MB, free: 13.5 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 -s gbode -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: 4.637451504997443]