Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 59.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2627, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003944/0.2667, allocations: 2.746 MB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2678, allocations: 0.7244 MB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.268, allocations: 7.938 kB / 434.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2681, allocations: 47.56 kB / 434.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.2682, allocations: 79.28 kB / 434.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.2685, allocations: 107.8 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.2689, allocations: 362.6 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2691, allocations: 64.89 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.2693, allocations: 147.5 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.2695, allocations: 163.3 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.2696, allocations: 35.94 kB / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.2697, allocations: 32 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.2697, allocations: 71.8 kB / 435.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2699, allocations: 143.3 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.2703, allocations: 351 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2703, allocations: 0 / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2703, allocations: 4 kB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2703, allocations: 3.938 kB / 436.2 MB, free: 1.594 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.001486/0.2718, allocations: 0.5754 MB / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2718, allocations: 8.031 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.2719, allocations: 54.73 kB / 436.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.272, allocations: 40.73 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.2723, allocations: 207 kB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2724, allocations: 16.75 kB / 437.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.2724, allocations: 24.38 kB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.273, allocations: 298.8 kB / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2731, allocations: 7.984 kB / 437.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.2731, allocations: 4 kB / 437.5 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2731, allocations: 4 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.2738, allocations: 269.5 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.2755, allocations: 1.031 MB / 438.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.2774, allocations: 430.2 kB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.2778, allocations: 136.8 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.2778, allocations: 4 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2779, allocations: 34.56 kB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.2779, allocations: 0 / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00509/0.2829, allocations: 0.9582 MB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.283, allocations: 51.41 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.2832, allocations: 216.9 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.2832, allocations: 33.7 kB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2833, allocations: 164.2 kB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.2834, allocations: 39.64 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.2835, allocations: 45.64 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2836, allocations: 326.8 kB / 441.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.2839, allocations: 107.9 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.2843, allocations: 136 kB / 441.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.2849, allocations: 225.5 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.285, allocations: 3.938 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002953/0.2879, allocations: 0.6333 MB / 442.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2879, allocations: 4 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2879, allocations: 0 / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007093/0.2886, allocations: 220.6 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2888, allocations: 43.86 kB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/0.2957, allocations: 2.647 MB / 445.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.296, allocations: 35.89 kB / 445.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.296, allocations: 8 kB / 445.2 MB, free: 8.258 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.0001424/0.2962, allocations: 133.8 kB / 445.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.2962, allocations: 19.91 kB / 445.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.2963, allocations: 25.88 kB / 445.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2963, allocations: 3.984 kB / 445.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2963, allocations: 4 kB / 445.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2963, allocations: 3.984 kB / 445.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.2967, allocations: 296.4 kB / 445.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2967, allocations: 0 / 445.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.2968, allocations: 31.91 kB / 445.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006427/0.2975, allocations: 220.7 kB / 445.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.2975, allocations: 3.984 kB / 445.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006719/0.3042, allocations: 2.643 MB / 448.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3042, allocations: 4.031 kB / 448.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.3075, allocations: 0.8394 MB / 449.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.3076, allocations: 19.89 kB / 449.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.3076, allocations: 4 kB / 449.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.3079, allocations: 32.03 kB / 449.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.3079, allocations: 11.98 kB / 449.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.308, allocations: 7.984 kB / 449.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.3081, allocations: 164.5 kB / 449.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3081, allocations: 0 / 449.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004472/0.3086, allocations: 75.89 kB / 449.7 MB, free: 3.539 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.003672/0.3122, allocations: 1.381 MB / 451.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.3138, allocations: 441.9 kB / 451.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3138, allocations: 0 / 451.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3149, allocations: 322.5 kB / 451.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3153, allocations: 44.53 kB / 451.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/0.3242, allocations: 3.365 MB / 455.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3245, allocations: 0.7476 MB / 456 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.156e-05/0.3246, allocations: 17.47 kB / 456 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.3247, allocations: 63.42 kB / 456.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3247, allocations: 4 kB / 456.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.363, allocations: 7.507 MB / 463.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.71, allocations: 0 / 463.6 MB, free: 5.633 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv --start-time 0 --stop-time 0.4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.9968e-05 Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv","/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_trunk_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: 15.271738070998254]