Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.0009358/0.0009358, 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.00431/0.00431, allocations: 161.6 kB / 24.69 MB, free: 9.414 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.9285/0.9285, allocations: 158.6 MB / 186.5 MB, free: 3.055 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.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.123e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.1335/0.1335, allocations: 5.221 MB / 303.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1358, allocations: 1.653 MB / 305.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.1362, allocations: 40.91 kB / 305.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1366, allocations: 251.9 kB / 305.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1369, allocations: 233.9 kB / 305.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.1376, allocations: 0.5034 MB / 306.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009315/0.1385, allocations: 1.423 MB / 307.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.139, allocations: 417.7 kB / 308.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.1396, allocations: 0.7213 MB / 308.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1399, allocations: 339 kB / 309.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.14, allocations: 122.5 kB / 309.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1402, allocations: 143 kB / 309.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1403, allocations: 267.2 kB / 309.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.1406, allocations: 399 kB / 310.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.1417, allocations: 1.616 MB / 311.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1418, allocations: 3.938 kB / 311.8 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1418, allocations: 1.031 kB / 311.8 MB, free: 8.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.1418, allocations: 0 / 311.8 MB, free: 8.973 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001275/0.143, allocations: 1.409 MB / 313.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1431, allocations: 13.61 kB / 313.2 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.1432, allocations: 177.5 kB / 313.4 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1433, allocations: 148.6 kB / 313.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/0.1442, allocations: 0.6893 MB / 314.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.1442, allocations: 91.31 kB / 314.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1443, allocations: 123 kB / 314.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1457, allocations: 1.311 MB / 315.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.1457, allocations: 7.062 kB / 315.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.1457, allocations: 54.92 kB / 315.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1458, allocations: 36.88 kB / 315.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009627/0.1467, allocations: 0.6832 MB / 316.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.15, allocations: 6.413 MB / 322.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.1505, allocations: 247.4 kB / 323.1 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.1507, allocations: 157.8 kB / 323.3 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.1508, allocations: 8.219 kB / 323.3 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.1508, allocations: 42.11 kB / 323.4 MB, free: 360 kB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.1508, allocations: 3.938 kB / 323.4 MB, free: 356 kB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001584/0.1524, allocations: 1.277 MB / 324.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1525, allocations: 80.95 kB / 324.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.153, allocations: 0.6821 MB / 325.4 MB, free: 15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1531, allocations: 31.17 kB / 325.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.1534, allocations: 0.6967 MB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.1535, allocations: 122.3 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1536, allocations: 148.4 kB / 326.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1537, allocations: 383.6 kB / 326.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.1539, allocations: 149.1 kB / 326.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.1543, allocations: 0.546 MB / 327.5 MB, free: 13.08 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.1552, allocations: 0.8068 MB / 328.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1552, allocations: 3.438 kB / 328.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000869/0.156, allocations: 0.7927 MB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1561, allocations: 11.5 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1561, allocations: 14.56 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.1563, allocations: 85.41 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.1566, allocations: 180 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.1586, allocations: 3.102 MB / 332.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.1588, allocations: 30.22 kB / 332.5 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.1589, allocations: 39.75 kB / 332.5 MB, free: 8.742 MB / 298.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.1592, allocations: 277.7 kB / 332.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.1592, allocations: 82.33 kB / 332.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.1593, allocations: 75.91 kB / 332.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1593, allocations: 3.594 kB / 332.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1593, allocations: 3.188 kB / 332.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1593, allocations: 0 / 332.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1607, allocations: 1.186 MB / 334.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1607, allocations: 1.375 kB / 334.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1608, allocations: 65.3 kB / 334.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.1609, allocations: 56.23 kB / 334.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.161, allocations: 15.61 kB / 334.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1623, allocations: 2.833 MB / 337.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1623, allocations: 3.938 kB / 337.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.163, allocations: 0.6218 MB / 337.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.163, allocations: 69.47 kB / 337.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1631, allocations: 8 kB / 337.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1632, allocations: 24.75 kB / 337.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.1633, allocations: 32.67 kB / 337.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1633, allocations: 7.969 kB / 337.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003544/0.1636, allocations: 440.2 kB / 338.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1636, allocations: 0 / 338.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.1642, allocations: 153.4 kB / 338.4 MB, free: 3.828 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007329/0.1649, allocations: 1.186 MB / 339.6 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009708/0.1659, allocations: 0.6406 MB / 340.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1659, allocations: 0 / 340.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.1661, allocations: 354.6 kB / 340.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1665, allocations: 76.41 kB / 340.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.1719, allocations: 6.289 MB / 347 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1722, allocations: 450.9 kB / 347.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.1724, allocations: 86.03 kB / 347.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.1729, allocations: 424.3 kB / 347.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1729, allocations: 0 / 347.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.2013, allocations: 13.61 MB / 361.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.343, allocations: 4.062 kB / 361.5 MB, free: 13.1 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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: 9.030522336252034]