Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001875/0.001875, allocations: 87.52 kB / 21.99 MB, free: 5.195 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.002014/0.002014, allocations: 153.4 kB / 25.24 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 158.6 MB / 187 MB, free: 6.254 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 51.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3276, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.005771/0.3333, allocations: 2.495 MB / 351 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3352, allocations: 0.6783 MB / 351.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3354, allocations: 4 kB / 351.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.3356, allocations: 47.56 kB / 351.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.3358, allocations: 75.28 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.3362, allocations: 103.8 kB / 351.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.3369, allocations: 370.4 kB / 352.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.3371, allocations: 64.88 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.3374, allocations: 135.5 kB / 352.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.3378, allocations: 143.4 kB / 352.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.3378, allocations: 32 kB / 352.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.3379, allocations: 28 kB / 352.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3381, allocations: 71.69 kB / 352.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3383, allocations: 123.5 kB / 352.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.3389, allocations: 353.1 kB / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3389, allocations: 0 / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3389, allocations: 0 / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3389, allocations: 0 / 353.2 MB, free: 10.81 MB / 318.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.002172/0.341, allocations: 0.5715 MB / 353.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3411, allocations: 11.98 kB / 353.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.3412, allocations: 36.69 kB / 353.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.3417, allocations: 199.1 kB / 354 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.3418, allocations: 12.88 kB / 354 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.3418, allocations: 24.38 kB / 354 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3429, allocations: 355.2 kB / 354.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3429, allocations: 0 / 354.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.343, allocations: 8 kB / 354.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.343, allocations: 11.98 kB / 354.4 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3442, allocations: 273.8 kB / 354.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3467, allocations: 0.9155 MB / 355.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.3497, allocations: 426.2 kB / 356 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.3503, allocations: 140.8 kB / 356.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.3503, allocations: 8 kB / 356.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.3503, allocations: 30.56 kB / 356.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.3504, allocations: 3.938 kB / 356.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.007511/0.3579, allocations: 0.9509 MB / 357.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.3579, allocations: 55.41 kB / 357.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.3583, allocations: 203.1 kB / 357.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.3583, allocations: 29.7 kB / 357.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3585, allocations: 156.4 kB / 357.6 MB, free: 6.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3586, allocations: 59.55 kB / 357.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3588, allocations: 37.66 kB / 357.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.359, allocations: 326.8 kB / 358 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.3595, allocations: 111.9 kB / 358.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.36, allocations: 121.6 kB / 358.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.3611, allocations: 233.7 kB / 358.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3611, allocations: 0 / 358.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00435/0.3655, allocations: 0.6307 MB / 359.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.3655, allocations: 4 kB / 359.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.3655, allocations: 0 / 359.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.3666, allocations: 220.7 kB / 359.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.3669, allocations: 31.98 kB / 359.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.3771, allocations: 2.601 MB / 361.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.3776, allocations: 35.94 kB / 362 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.3776, allocations: 11.98 kB / 362 MB, free: 1.688 MB / 318.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.0002502/0.3779, allocations: 129.8 kB / 362.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.3779, allocations: 23.8 kB / 362.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.378, allocations: 29.45 kB / 362.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.378, allocations: 0 / 362.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.378, allocations: 0 / 362.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.378, allocations: 0 / 362.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.3786, allocations: 221.2 kB / 362.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3786, allocations: 0 / 362.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3788, allocations: 31.98 kB / 362.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.3798, allocations: 224.5 kB / 362.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3799, allocations: 11.92 kB / 362.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009965/0.3898, allocations: 2.582 MB / 365.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3898, allocations: 3.938 kB / 365.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/0.3946, allocations: 0.8318 MB / 366 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.3947, allocations: 23.83 kB / 366.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.3947, allocations: 7.984 kB / 366.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.3951, allocations: 31.97 kB / 366.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.3952, allocations: 16.02 kB / 366.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3952, allocations: 4 kB / 366.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.3955, allocations: 156.4 kB / 366.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3955, allocations: 0 / 366.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008535/0.3963, allocations: 83.83 kB / 366.4 MB, free: 13.12 MB / 334.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.0001663/0.3965, allocations: 103.2 kB / 366.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.3988, allocations: 442.3 kB / 366.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3988, allocations: 0 / 366.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.4004, allocations: 326.5 kB / 367.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.4009, allocations: 35.97 kB / 367.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.4029, allocations: 0.546 MB / 367.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.4031, allocations: 137.8 kB / 367.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.4032, allocations: 13.47 kB / 367.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.4033, allocations: 16.5 kB / 368 MB, free: 11.45 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4033, allocations: 4 kB / 368 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01392/0.4172, allocations: 4.667 MB / 372.6 MB, free: 6.727 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.945739367976785]