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.00186/0.00186, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002467/0.002467, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.478/1.478, allocations: 230.5 MB / 254 MB, free: 15.16 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.002025/0.002025, allocations: 63.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1059, allocations: 53.38 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004398/0.1102, allocations: 2.743 MB / 429.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1116, allocations: 0.7168 MB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1117, allocations: 4 kB / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1118, allocations: 43.56 kB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.112, allocations: 79.27 kB / 429.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1123, allocations: 115.8 kB / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.1127, allocations: 362.5 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1129, allocations: 68.7 kB / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1131, allocations: 139.5 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1133, allocations: 167.3 kB / 430.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.1134, allocations: 32 kB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.1135, allocations: 32 kB / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.1135, allocations: 67.81 kB / 430.9 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1137, allocations: 151.4 kB / 431.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.1142, allocations: 354.5 kB / 431.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1142, allocations: 0 / 431.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1142, allocations: 4 kB / 431.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1142, allocations: 0 / 431.4 MB, free: 15.54 MB / 366.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.001526/0.1157, allocations: 0.6507 MB / 432.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1157, allocations: 8.031 kB / 432.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.1158, allocations: 54.73 kB / 432.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.116, allocations: 40.73 kB / 432.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.1164, allocations: 264.9 kB / 432.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1164, allocations: 16.81 kB / 432.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.1165, allocations: 16.38 kB / 432.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.1172, allocations: 306.7 kB / 432.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.1172, allocations: 4 kB / 432.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.1172, allocations: 8 kB / 432.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1173, allocations: 4 kB / 432.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.1181, allocations: 269.6 kB / 433 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.1198, allocations: 1.062 MB / 434.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.1217, allocations: 426.3 kB / 434.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.1221, allocations: 148.6 kB / 434.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1222, allocations: 0 / 434.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.1222, allocations: 34.56 kB / 434.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1222, allocations: 0 / 434.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.00493/0.1271, allocations: 1.026 MB / 435.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1272, allocations: 55.41 kB / 435.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.1274, allocations: 221 kB / 436 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1275, allocations: 29.7 kB / 436 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1276, allocations: 164.3 kB / 436.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.1277, allocations: 43.64 kB / 436.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.1277, allocations: 41.64 kB / 436.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1279, allocations: 330.8 kB / 436.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.1283, allocations: 103.9 kB / 436.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.1286, allocations: 129.5 kB / 436.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.1293, allocations: 223.5 kB / 437 MB, free: 9.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1293, allocations: 3.938 kB / 437 MB, free: 9.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002876/0.1322, allocations: 0.6367 MB / 437.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1322, allocations: 15.92 kB / 437.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1322, allocations: 0 / 437.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.133, allocations: 216.7 kB / 437.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1331, allocations: 27.98 kB / 437.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007033/0.1402, allocations: 2.747 MB / 440.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.1405, allocations: 35.91 kB / 440.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1405, allocations: 7.984 kB / 440.7 MB, free: 5.793 MB / 366.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.0001762/0.1407, allocations: 140.2 kB / 440.8 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.1407, allocations: 19.98 kB / 440.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.1408, allocations: 29.89 kB / 440.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1408, allocations: 4 kB / 440.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1408, allocations: 0 / 440.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1408, allocations: 0 / 440.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1412, allocations: 333.3 kB / 441.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.1412, allocations: 0 / 441.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1414, allocations: 27.98 kB / 441.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/0.142, allocations: 216.7 kB / 441.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.1421, allocations: 11.98 kB / 441.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/0.1489, allocations: 2.731 MB / 444.2 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1489, allocations: 7.969 kB / 444.2 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.1522, allocations: 0.8453 MB / 445.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1523, allocations: 104.9 kB / 445.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1523, allocations: 4 kB / 445.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.1526, allocations: 32.03 kB / 445.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1527, allocations: 11.98 kB / 445.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1527, allocations: 8 kB / 445.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1529, allocations: 164.5 kB / 445.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1529, allocations: 0 / 445.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004587/0.1533, allocations: 79.89 kB / 445.5 MB, free: 0.8047 MB / 366.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.19/0.3433, allocations: 1.374 MB / 446.8 MB, free: 23.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.3451, allocations: 439.7 kB / 447.3 MB, free: 23.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3451, allocations: 2.656 kB / 447.3 MB, free: 23.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.3461, allocations: 323.7 kB / 447.6 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3466, allocations: 34.12 kB / 447.6 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.3551, allocations: 3.351 MB / 451 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.3553, allocations: 0.7448 MB / 451.7 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.217e-05/0.3554, allocations: 14.31 kB / 451.7 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.3555, allocations: 76.69 kB / 451.8 MB, free: 21.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3555, allocations: 3.844 kB / 451.8 MB, free: 21.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/0.3948, allocations: 7.376 MB / 459.2 MB, free: 20.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 6.109 kB / 459.2 MB, free: 20.79 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.390938699012622]