Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.000901/0.000901, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005912/0.005912, allocations: 164.3 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8145/0.8145, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.414e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.121/0.121, allocations: 3.758 MB / 302.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1225, allocations: 0.9354 MB / 303.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1227, allocations: 9.094 kB / 303.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.1228, allocations: 95.67 kB / 303.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.1232, allocations: 214.4 kB / 303.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1235, allocations: 161.4 kB / 303.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.124, allocations: 0.7595 MB / 304.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1243, allocations: 151.3 kB / 304.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.1247, allocations: 426 kB / 304.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1249, allocations: 245 kB / 305.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.499e-05/0.125, allocations: 59.31 kB / 305.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.1251, allocations: 60.53 kB / 305.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1252, allocations: 153.7 kB / 305.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1254, allocations: 229.8 kB / 305.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.126, allocations: 0.7285 MB / 306.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.126, allocations: 4 kB / 306.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.126, allocations: 0 / 306.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.126, allocations: 0 / 306.4 MB, free: 12.08 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001008/0.127, allocations: 0.8466 MB / 307.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1271, allocations: 16.75 kB / 307.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1272, allocations: 117.9 kB / 307.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.1273, allocations: 76.05 kB / 307.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.1277, allocations: 330.6 kB / 307.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1277, allocations: 43.28 kB / 307.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.1278, allocations: 52 kB / 307.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.1285, allocations: 0.568 MB / 308.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1285, allocations: 2.609 kB / 308.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1285, allocations: 28.19 kB / 308.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1286, allocations: 14.06 kB / 308.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.1292, allocations: 467.2 kB / 308.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1309, allocations: 1.905 MB / 310.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.1315, allocations: 0.5071 MB / 311.4 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.1319, allocations: 363.9 kB / 311.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.132, allocations: 11.16 kB / 311.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.132, allocations: 38.2 kB / 311.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/0.132, allocations: 0 / 311.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.002658/0.1346, allocations: 1.721 MB / 313.5 MB, free: 8.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1347, allocations: 62.38 kB / 313.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.1349, allocations: 361.2 kB / 313.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.135, allocations: 36.95 kB / 313.9 MB, free: 7.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.1351, allocations: 243.2 kB / 314.2 MB, free: 7.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.1351, allocations: 215.1 kB / 314.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.1352, allocations: 98.33 kB / 314.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.1353, allocations: 355.8 kB / 314.8 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1355, allocations: 168.6 kB / 315 MB, free: 7.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1357, allocations: 218 kB / 315.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1361, allocations: 377.3 kB / 315.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1361, allocations: 0 / 315.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007376/0.1368, allocations: 0.6634 MB / 316.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1369, allocations: 5.594 kB / 316.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1369, allocations: 1.188 kB / 316.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.1373, allocations: 260.2 kB / 316.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1375, allocations: 68.45 kB / 316.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.1407, allocations: 7.032 MB / 323.6 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1409, allocations: 19.58 kB / 323.6 MB, free: 0 / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.141, allocations: 17.88 kB / 323.6 MB, free: 0 / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.1411, allocations: 174.6 kB / 323.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.1412, allocations: 56.02 kB / 323.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.1413, allocations: 72.23 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1413, allocations: 5.5 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.1413, allocations: 3.125 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1413, allocations: 3.422 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1428, allocations: 1.237 MB / 325.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1428, allocations: 1.188 kB / 325.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1429, allocations: 55.28 kB / 325.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.1434, allocations: 267.6 kB / 325.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.1434, allocations: 18.16 kB / 325.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.1473, allocations: 7.024 MB / 332.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1473, allocations: 1.25 kB / 332.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1484, allocations: 1.022 MB / 333.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.1486, allocations: 81.89 kB / 333.6 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1486, allocations: 11.7 kB / 333.6 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1487, allocations: 17.11 kB / 333.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1489, allocations: 52.39 kB / 333.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1489, allocations: 18.86 kB / 333.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1491, allocations: 254.8 kB / 334 MB, free: 7.883 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1491, allocations: 0 / 334 MB, free: 7.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006199/0.1497, allocations: 178.4 kB / 334.2 MB, free: 7.859 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.151, allocations: 1.58 MB / 335.7 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.152, allocations: 1.012 MB / 336.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.152, allocations: 0 / 336.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.1526, allocations: 0.8238 MB / 337.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.153, allocations: 89.78 kB / 337.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.1579, allocations: 4.996 MB / 342.7 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1581, allocations: 287.9 kB / 342.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.1583, allocations: 52.53 kB / 343 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1584, allocations: 172.4 kB / 343.2 MB, free: 336 kB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1584, allocations: 0 / 343.2 MB, free: 336 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.1932, allocations: 14.53 MB / 357.7 MB, free: 1.746 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.261, allocations: 7.891 kB / 357.7 MB, free: 1.738 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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: 10.160601546987891]