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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 121.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 189.2 kB / 21.39 MB, free: 1.672 MB / 14.72 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 1.371/1.371, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 55.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09722, allocations: 49.11 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00754/0.1048, allocations: 5.972 MB / 397.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1079, allocations: 1.703 MB / 399.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.1083, allocations: 31.88 kB / 399.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.1088, allocations: 253.5 kB / 399.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.1093, allocations: 213.8 kB / 399.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1103, allocations: 0.5032 MB / 400.1 MB, free: 28 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1117, allocations: 1.387 MB / 401.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.1124, allocations: 455.7 kB / 401.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.1129, allocations: 478.1 kB / 402.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.1134, allocations: 0.4973 MB / 402.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.1136, allocations: 124 kB / 403 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.1138, allocations: 136 kB / 403.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.114, allocations: 267 kB / 403.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.1145, allocations: 0.61 MB / 404 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.1161, allocations: 1.63 MB / 405.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1161, allocations: 0 / 405.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1161, allocations: 0 / 405.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.1161, allocations: 0 / 405.6 MB, free: 10.43 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002126/0.1182, allocations: 1.492 MB / 407.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1183, allocations: 8.031 kB / 407.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.1185, allocations: 181.6 kB / 407.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.1187, allocations: 147.1 kB / 407.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.1199, allocations: 0.775 MB / 408.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.12, allocations: 86.41 kB / 408.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1201, allocations: 116 kB / 408.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.122, allocations: 1.264 MB / 409.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.122, allocations: 7.938 kB / 409.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.1221, allocations: 52 kB / 409.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.1221, allocations: 32 kB / 409.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.1234, allocations: 0.6929 MB / 410.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/0.1295, allocations: 6.786 MB / 417.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.1302, allocations: 245.3 kB / 417.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.1306, allocations: 162.1 kB / 417.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.1308, allocations: 85.09 kB / 417.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1308, allocations: 46.56 kB / 417.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.1308, allocations: 3.938 kB / 417.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002535/0.1333, allocations: 1.431 MB / 419.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.1334, allocations: 81.11 kB / 419.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.1342, allocations: 0.6647 MB / 419.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1342, allocations: 33.7 kB / 420 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.1347, allocations: 0.6976 MB / 420.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1348, allocations: 119.1 kB / 420.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.135, allocations: 146.5 kB / 420.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1352, allocations: 386.8 kB / 421.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.1355, allocations: 149.9 kB / 421.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.1361, allocations: 0.5506 MB / 422 MB, free: 8.996 MB / 350.1 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.001201/0.1373, allocations: 0.9542 MB / 423 MB, free: 7.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1373, allocations: 4 kB / 423 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001307/0.1386, allocations: 0.7881 MB / 423.8 MB, free: 7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.1387, allocations: 12 kB / 423.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.1387, allocations: 20.06 kB / 423.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.1389, allocations: 81.62 kB / 423.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.1394, allocations: 183.7 kB / 424 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.1423, allocations: 3.328 MB / 427.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.1427, allocations: 36 kB / 427.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.1427, allocations: 40 kB / 427.4 MB, free: 3.023 MB / 350.1 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.0003893/0.1431, allocations: 277.5 kB / 427.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1432, allocations: 71.53 kB / 427.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1433, allocations: 74.41 kB / 427.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1433, allocations: 0 / 427.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1433, allocations: 4.125 kB / 427.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1433, allocations: 4 kB / 427.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.1452, allocations: 1.255 MB / 429.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1452, allocations: 0 / 429.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.1455, allocations: 67.89 kB / 429.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.1456, allocations: 57.78 kB / 429.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1457, allocations: 8 kB / 429.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.1481, allocations: 3.061 MB / 432.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1481, allocations: 0 / 432.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.149, allocations: 0.6355 MB / 432.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.1492, allocations: 148.6 kB / 433.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.1492, allocations: 8 kB / 433.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1495, allocations: 15.98 kB / 433.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.1496, allocations: 36.05 kB / 433.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1496, allocations: 12 kB / 433.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005239/0.1501, allocations: 435 kB / 433.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1501, allocations: 0 / 433.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008368/0.1509, allocations: 160 kB / 433.7 MB, free: 12.3 MB / 366.1 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.001247/0.1522, allocations: 1.196 MB / 434.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.1533, allocations: 0.625 MB / 435.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1533, allocations: 0 / 435.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.1538, allocations: 366.1 kB / 435.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.1543, allocations: 71.3 kB / 436 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008965/0.1633, allocations: 6.436 MB / 442.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.164, allocations: 1.034 MB / 443.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.1643, allocations: 82.03 kB / 443.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.1647, allocations: 423.3 kB / 444 MB, free: 1.457 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1647, allocations: 3.938 kB / 444 MB, free: 1.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.2104, allocations: 12.79 MB / 456.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.57, allocations: 8.047 kB / 456.8 MB, free: 4.586 MB / 382.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.044194856658578]