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.001301/0.001301, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001424/0.001424, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001585/0.001585, allocations: 55.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2126, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004039/0.2167, allocations: 2.555 MB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2179, allocations: 0.6739 MB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.218, allocations: 4 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.2182, allocations: 47.56 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.2184, allocations: 79.28 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2187, allocations: 111.8 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.2191, allocations: 362.5 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2193, allocations: 64.89 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.2195, allocations: 151.5 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2198, allocations: 163.3 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.2198, allocations: 35.94 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.2199, allocations: 36 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.22, allocations: 67.8 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2201, allocations: 127.5 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.2205, allocations: 350.3 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2205, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2205, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.381e-06/0.2205, allocations: 0 / 437.1 MB, free: 1.938 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.001617/0.2221, allocations: 0.5754 MB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2222, allocations: 8.031 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.2224, allocations: 44.73 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.2227, allocations: 206.9 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2227, allocations: 16.81 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.2228, allocations: 16.38 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.2235, allocations: 350.3 kB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2235, allocations: 4 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.2236, allocations: 8 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2236, allocations: 8 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.2244, allocations: 273.4 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.2261, allocations: 0.9224 MB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.2282, allocations: 426.3 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.2287, allocations: 132.8 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2287, allocations: 4 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2287, allocations: 30.81 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2287, allocations: 0 / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005671/0.2344, allocations: 0.9606 MB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2344, allocations: 51.41 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.2346, allocations: 211.1 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.2347, allocations: 25.7 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2348, allocations: 172.3 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.2348, allocations: 51.53 kB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.2349, allocations: 33.7 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2351, allocations: 330.8 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.2354, allocations: 111.9 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.2358, allocations: 121.6 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.2366, allocations: 236.3 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2366, allocations: 0 / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003338/0.2399, allocations: 0.6384 MB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2399, allocations: 11.94 kB / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2399, allocations: 0 / 443.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/0.2407, allocations: 220.7 kB / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.2409, allocations: 35.91 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/0.2483, allocations: 2.582 MB / 445.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2486, allocations: 36.02 kB / 445.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2486, allocations: 7.984 kB / 445.9 MB, free: 8.801 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.0001432/0.2487, allocations: 133 kB / 446.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.2488, allocations: 23.8 kB / 446.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.2488, allocations: 25.45 kB / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2488, allocations: 0 / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2488, allocations: 0 / 446.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2489, allocations: 15.91 kB / 446.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2489, allocations: 11.98 kB / 446.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2492, allocations: 27.98 kB / 446.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2493, allocations: 15.91 kB / 446.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002712/0.252, allocations: 0.6029 MB / 446.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001224/0.2532, allocations: 0.5482 MB / 447.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000353/0.2536, allocations: 103.9 kB / 447.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.2537, allocations: 152.6 kB / 447.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of Backend: time 4.7e-07/0.2537, allocations: 0 / 447.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.2554, allocations: 419.7 kB / 448 MB, free: 6.688 MB / 350.1 MB Notification: Performance of SimCode: time 0.001025/0.2564, allocations: 0.9355 MB / 448.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of Templates: time 0.008689/0.2651, allocations: 4.561 MB / 453.5 MB, free: 1.141 MB / 350.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: 4.39665741600038]