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.001856/0.001856, allocations: 121.4 kB / 19.17 MB, free: 3.898 MB / 14.72 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.002261/0.002261, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.473/1.473, allocations: 207.6 MB / 232.5 MB, free: 3.953 MB / 174.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 52.55 kB / 343 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09532, allocations: 49.13 MB / 392.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007444/0.1028, allocations: 5.969 MB / 398.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.106, allocations: 1.707 MB / 399.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.1066, allocations: 39.69 kB / 399.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.1071, allocations: 249.5 kB / 400.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.1077, allocations: 221.7 kB / 400.3 MB, free: 480 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1087, allocations: 0.5032 MB / 400.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.1103, allocations: 1.391 MB / 402.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007475/0.1111, allocations: 455.7 kB / 402.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.1117, allocations: 486.1 kB / 403.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.1123, allocations: 0.4934 MB / 403.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.1124, allocations: 124 kB / 403.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.1126, allocations: 136 kB / 403.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.1128, allocations: 267 kB / 404.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.1134, allocations: 0.61 MB / 404.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.1152, allocations: 1.626 MB / 406.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1152, allocations: 4 kB / 406.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1152, allocations: 3.938 kB / 406.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.1152, allocations: 3.984 kB / 406.4 MB, free: 10.36 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.002379/0.1176, allocations: 1.488 MB / 407.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1176, allocations: 8.031 kB / 407.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.156e-05/0.1177, allocations: 34.41 kB / 407.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.1179, allocations: 177.7 kB / 408.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.1181, allocations: 151.1 kB / 408.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.1194, allocations: 0.7633 MB / 409 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.1195, allocations: 90.41 kB / 409.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.1196, allocations: 116 kB / 409.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.1217, allocations: 1.264 MB / 410.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.1218, allocations: 11.94 kB / 410.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.1219, allocations: 52 kB / 410.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.1219, allocations: 32 kB / 410.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.1234, allocations: 0.6851 MB / 411.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007086/0.1304, allocations: 6.79 MB / 418 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.1312, allocations: 249.2 kB / 418.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.1316, allocations: 174 kB / 418.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.1317, allocations: 85.05 kB / 418.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.1318, allocations: 38.56 kB / 418.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.1318, allocations: 0 / 418.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002675/0.1345, allocations: 1.423 MB / 420 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.1345, allocations: 85.11 kB / 420.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.1354, allocations: 0.6647 MB / 420.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1354, allocations: 29.7 kB / 420.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.1359, allocations: 0.7015 MB / 421.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.136, allocations: 123 kB / 421.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.1362, allocations: 142.5 kB / 421.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1364, allocations: 386.8 kB / 422.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.1367, allocations: 149.9 kB / 422.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.1374, allocations: 0.5546 MB / 422.8 MB, free: 8.895 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.001227/0.1386, allocations: 0.9464 MB / 423.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1386, allocations: 4 kB / 423.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001407/0.14, allocations: 0.803 MB / 424.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1401, allocations: 8 kB / 424.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.1401, allocations: 16.72 kB / 424.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.1403, allocations: 81.69 kB / 424.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.1409, allocations: 187.6 kB / 424.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.1438, allocations: 3.321 MB / 428.2 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.1442, allocations: 35.98 kB / 428.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.1443, allocations: 44 kB / 428.3 MB, free: 2.922 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.0004524/0.1448, allocations: 273.5 kB / 428.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1449, allocations: 79.53 kB / 428.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.145, allocations: 66.42 kB / 428.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.145, allocations: 4 kB / 428.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.145, allocations: 0 / 428.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.145, allocations: 3.984 kB / 428.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.147, allocations: 1.259 MB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.147, allocations: 0 / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.1473, allocations: 59.97 kB / 430 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.1475, allocations: 61.77 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.1475, allocations: 8 kB / 430.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.1501, allocations: 3.061 MB / 433.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1501, allocations: 11.91 kB / 433.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1511, allocations: 0.6356 MB / 433.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.1513, allocations: 136.8 kB / 433.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.1513, allocations: 8.062 kB / 433.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.1516, allocations: 15.98 kB / 433.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.1517, allocations: 35.89 kB / 434 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1517, allocations: 12 kB / 434 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.1524, allocations: 435 kB / 434.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1524, allocations: 0 / 434.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009523/0.1533, allocations: 159.9 kB / 434.5 MB, free: 12.2 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.001393/0.1547, allocations: 1.196 MB / 435.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.156, allocations: 0.6293 MB / 436.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.156, allocations: 0 / 436.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.1565, allocations: 357.3 kB / 436.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.157, allocations: 83.47 kB / 436.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/0.1665, allocations: 6.424 MB / 443.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.1673, allocations: 1.038 MB / 444.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.1676, allocations: 89.95 kB / 444.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.1681, allocations: 419.3 kB / 444.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1681, allocations: 0 / 444.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.2101, allocations: 12.82 MB / 457.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.92, allocations: 8.047 kB / 457.6 MB, free: 4.453 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 13.594522000988945]