Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.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.00126/0.00126, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.001279/0.001279, allocations: 189.2 kB / 21.39 MB, free: 1.543 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.368/1.368, allocations: 207.6 MB / 231.8 MB, free: 4.016 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.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",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.001713/0.001713, allocations: 55.92 kB / 342.2 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09676, allocations: 49.11 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002719/0.09948, allocations: 1.529 MB / 392.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1014, allocations: 0.9036 MB / 393.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.1015, allocations: 4 kB / 393.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.1016, allocations: 11.92 kB / 393.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.1016, allocations: 23.78 kB / 393.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1019, allocations: 47.89 kB / 393.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1021, allocations: 131.8 kB / 394 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.1022, allocations: 23.91 kB / 394 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.1026, allocations: 395.2 kB / 394.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1028, allocations: 63.7 kB / 394.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1028, allocations: 12 kB / 394.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.748e-05/0.1028, allocations: 8 kB / 394.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.1029, allocations: 75.64 kB / 394.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.103, allocations: 119.1 kB / 394.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.1035, allocations: 354.5 kB / 395 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1035, allocations: 4 kB / 395 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1035, allocations: 0 / 395 MB, free: 5.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1035, allocations: 0 / 395 MB, free: 5.039 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007909/0.1043, allocations: 0.7344 MB / 395.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1043, allocations: 8.031 kB / 395.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1044, allocations: 34.75 kB / 395.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.1044, allocations: 40.7 kB / 395.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1048, allocations: 282.6 kB / 396.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1048, allocations: 8.375 kB / 396.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.1048, allocations: 8.375 kB / 396.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1051, allocations: 125.7 kB / 396.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1051, allocations: 0 / 396.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1051, allocations: 4 kB / 396.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1051, allocations: 0 / 396.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1053, allocations: 55.97 kB / 396.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.106, allocations: 468.4 kB / 396.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1061, allocations: 70.55 kB / 396.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1063, allocations: 60.89 kB / 396.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1063, allocations: 0 / 396.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.1067, allocations: 206.6 kB / 397.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1067, allocations: 4 kB / 397.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008216/0.1075, allocations: 472.3 kB / 397.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1076, allocations: 170.2 kB / 397.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.1083, allocations: 0.5168 MB / 398.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1083, allocations: 33.7 kB / 398.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.1084, allocations: 101.1 kB / 398.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.1084, allocations: 35.73 kB / 398.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1085, allocations: 77.56 kB / 398.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1087, allocations: 330.8 kB / 398.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1088, allocations: 55.97 kB / 398.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1089, allocations: 73.67 kB / 399 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1093, allocations: 343.2 kB / 399.3 MB, free: 416 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1093, allocations: 0 / 399.3 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005277/0.1098, allocations: 376.3 kB / 399.7 MB, free: 8 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1099, allocations: 122.8 kB / 399.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1099, allocations: 8.031 kB / 399.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1099, allocations: 0 / 399.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.11, allocations: 3.938 kB / 399.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.11, allocations: 0 / 399.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1101, allocations: 19.92 kB / 399.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.1102, allocations: 40.06 kB / 399.9 MB, free: 15.79 MB / 334.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: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.1105, allocations: 374.2 kB / 400.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.1106, allocations: 39.77 kB / 400.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1107, allocations: 67.16 kB / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1107, allocations: 112 / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1107, allocations: 3.938 kB / 400.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1107, allocations: 0 / 400.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1118, allocations: 0.8293 MB / 401.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1118, allocations: 0 / 401.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/0.1118, allocations: 0 / 401.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1118, allocations: 0 / 401.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.1118, allocations: 12 kB / 401.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1118, allocations: 0 / 401.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1118, allocations: 7.938 kB / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.1125, allocations: 0.5254 MB / 401.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.1128, allocations: 240.6 kB / 401.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.1129, allocations: 11.98 kB / 401.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.113, allocations: 12 kB / 402 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1131, allocations: 27.91 kB / 402 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.1132, allocations: 40 kB / 402 MB, free: 13.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005041/0.1137, allocations: 394.9 kB / 402.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1137, allocations: 3.938 kB / 402.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.114, allocations: 44 kB / 402.5 MB, free: 13.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.1151, allocations: 1.082 MB / 403.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.1156, allocations: 373.7 kB / 403.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1156, allocations: 4.062 kB / 403.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.1159, allocations: 301.7 kB / 404.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.1166, allocations: 137.2 kB / 404.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.1202, allocations: 2.751 MB / 407.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.1208, allocations: 0.802 MB / 407.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.1208, allocations: 12.66 kB / 407.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.1209, allocations: 35.36 kB / 407.9 MB, free: 7.238 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1209, allocations: 4 kB / 407.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1501, allocations: 5.92 MB / 413.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.069, allocations: 8 kB / 413.9 MB, free: 1.207 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.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.337660538032651]