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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002212/0.002212, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001643/0.001643, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2898, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004885/0.2946, allocations: 2.556 MB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.2963, allocations: 0.67 MB / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.2964, allocations: 4 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2966, allocations: 47.56 kB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2968, allocations: 83.27 kB / 434.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.2972, allocations: 111.8 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.2977, allocations: 366.5 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.2979, allocations: 59.44 kB / 435.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.2982, allocations: 155.5 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2985, allocations: 159.4 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.2985, allocations: 32 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.2986, allocations: 40 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.2987, allocations: 63.75 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2989, allocations: 123.5 kB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.2994, allocations: 358.3 kB / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2994, allocations: 0 / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2994, allocations: 0 / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2994, allocations: 0 / 436.4 MB, free: 1.898 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.001767/0.3011, allocations: 0.5715 MB / 437 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3012, allocations: 12.03 kB / 437 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.3014, allocations: 48.66 kB / 437 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.3019, allocations: 199 kB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3019, allocations: 16.81 kB / 437.2 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.302, allocations: 28.36 kB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.3028, allocations: 350.3 kB / 437.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3028, allocations: 0 / 437.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.3028, allocations: 8 kB / 437.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3029, allocations: 8 kB / 437.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.3037, allocations: 265.5 kB / 437.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3056, allocations: 0.9302 MB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.3076, allocations: 426.3 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.3081, allocations: 132.8 kB / 439.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3081, allocations: 11.92 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3081, allocations: 38.56 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.3081, allocations: 3.938 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005471/0.3136, allocations: 0.9392 MB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3137, allocations: 51.41 kB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3139, allocations: 211.1 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.314, allocations: 25.7 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3141, allocations: 172.3 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.3142, allocations: 55.53 kB / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.3142, allocations: 41.62 kB / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3144, allocations: 330.8 kB / 441.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.3148, allocations: 107.9 kB / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.3151, allocations: 121.6 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.3158, allocations: 232 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3158, allocations: 0 / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003124/0.3189, allocations: 0.6229 MB / 442.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.319, allocations: 8 kB / 442.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.319, allocations: 0 / 442.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/0.3198, allocations: 224.6 kB / 442.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.32, allocations: 31.92 kB / 442.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/0.3275, allocations: 2.6 MB / 445.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3278, allocations: 39.88 kB / 445.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3278, allocations: 4 kB / 445.2 MB, free: 8.758 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.0001885/0.328, allocations: 129.8 kB / 445.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.3281, allocations: 27.78 kB / 445.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.3281, allocations: 21.47 kB / 445.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3281, allocations: 4.062 kB / 445.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3281, allocations: 4 kB / 445.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3281, allocations: 0 / 445.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.3285, allocations: 221 kB / 445.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3285, allocations: 0 / 445.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.3287, allocations: 31.97 kB / 445.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006903/0.3293, allocations: 224.6 kB / 445.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3294, allocations: 7.984 kB / 445.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007202/0.3366, allocations: 2.589 MB / 448.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3366, allocations: 3.938 kB / 448.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.3402, allocations: 0.8356 MB / 449.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.3403, allocations: 27.77 kB / 449.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3403, allocations: 0 / 449.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.3406, allocations: 36.03 kB / 449.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.3407, allocations: 11.98 kB / 449.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3407, allocations: 7.984 kB / 449.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.3409, allocations: 148.6 kB / 449.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3409, allocations: 0 / 449.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.3414, allocations: 83.89 kB / 449.6 MB, free: 4.191 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.0001451/0.3415, allocations: 95.25 kB / 449.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.3432, allocations: 442.3 kB / 450.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3432, allocations: 4 kB / 450.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3444, allocations: 330.5 kB / 450.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3448, allocations: 37.67 kB / 450.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3462, allocations: 0.5616 MB / 451 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3463, allocations: 137.8 kB / 451.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.3464, allocations: 13.42 kB / 451.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.3464, allocations: 11.44 kB / 451.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3464, allocations: 0 / 451.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Templates: time 0.01004/0.3565, allocations: 4.98 MB / 456.2 MB, free: 13.52 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.881384978070855]