Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001707/0.001707, allocations: 123.9 kB / 17.78 MB, free: 5.121 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.002099/0.002099, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09976, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002767/0.1025, allocations: 1.525 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1044, allocations: 0.8458 MB / 420.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1045, allocations: 0 / 420.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.645e-05/0.1046, allocations: 15.86 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.1047, allocations: 23.84 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1049, allocations: 51.89 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1051, allocations: 135.7 kB / 420.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.1052, allocations: 15.98 kB / 420.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.1057, allocations: 387.3 kB / 420.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1058, allocations: 67.7 kB / 420.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1058, allocations: 8 kB / 420.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.1058, allocations: 15.94 kB / 420.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-05/0.1059, allocations: 71.67 kB / 420.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1061, allocations: 111.2 kB / 421 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.1065, allocations: 362.4 kB / 421.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1065, allocations: 4 kB / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1065, allocations: 0 / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1065, allocations: 4 kB / 421.4 MB, free: 8.984 MB / 350.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.0008317/0.1073, allocations: 0.7344 MB / 422.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1073, allocations: 8.031 kB / 422.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.1074, allocations: 42.69 kB / 422.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.27e-05/0.1074, allocations: 44.69 kB / 422.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1078, allocations: 270.7 kB / 422.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1078, allocations: 12.38 kB / 422.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1078, allocations: 12.38 kB / 422.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1081, allocations: 125.7 kB / 422.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1081, allocations: 3.984 kB / 422.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1081, allocations: 4 kB / 422.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1081, allocations: 0 / 422.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1083, allocations: 63.84 kB / 422.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.109, allocations: 468.5 kB / 423.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1092, allocations: 78.48 kB / 423.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1093, allocations: 60.88 kB / 423.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.1093, allocations: 4 kB / 423.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.1097, allocations: 194.7 kB / 423.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1097, allocations: 0 / 423.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007955/0.1105, allocations: 472.1 kB / 424 MB, free: 6.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1106, allocations: 170.2 kB / 424.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.1112, allocations: 0.5208 MB / 424.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1113, allocations: 29.7 kB / 424.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1113, allocations: 93.14 kB / 424.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.1114, allocations: 31.8 kB / 424.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1115, allocations: 77.56 kB / 424.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1116, allocations: 326.8 kB / 425.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1117, allocations: 55.97 kB / 425.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1119, allocations: 77.67 kB / 425.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.1122, allocations: 346.7 kB / 425.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1122, allocations: 0 / 425.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005456/0.1128, allocations: 384.3 kB / 426 MB, free: 3.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.1129, allocations: 125.4 kB / 426.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1129, allocations: 4 kB / 426.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1129, allocations: 0 / 426.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/0.1129, allocations: 0 / 426.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1129, allocations: 7.969 kB / 426.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1131, allocations: 15.98 kB / 426.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.1131, allocations: 36 kB / 426.2 MB, free: 3.73 MB / 350.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.0003638/0.1135, allocations: 370.2 kB / 426.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1135, allocations: 43.77 kB / 426.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/0.1136, allocations: 59.27 kB / 426.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1136, allocations: 7.922 kB / 426.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1136, allocations: 0 / 426.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1137, allocations: 4.125 kB / 426.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.1147, allocations: 0.8173 MB / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1147, allocations: 0 / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.1147, allocations: 0 / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1147, allocations: 0 / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.1147, allocations: 8 kB / 427.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1147, allocations: 7.984 kB / 427.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1147, allocations: 3.938 kB / 427.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.1154, allocations: 0.5293 MB / 428.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.1157, allocations: 248.6 kB / 428.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.1158, allocations: 12 kB / 428.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1159, allocations: 8 kB / 428.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.116, allocations: 27.91 kB / 428.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.116, allocations: 43.98 kB / 428.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004789/0.1165, allocations: 386.9 kB / 428.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1165, allocations: 0 / 428.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1168, allocations: 44 kB / 428.8 MB, free: 0.9648 MB / 350.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.001059/0.1179, allocations: 1.089 MB / 429.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.1184, allocations: 377.5 kB / 430.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1184, allocations: 0 / 430.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1187, allocations: 305.6 kB / 430.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.1193, allocations: 135.9 kB / 430.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.1228, allocations: 2.758 MB / 433.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.1233, allocations: 0.7944 MB / 434.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.1233, allocations: 12.59 kB / 434.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.1234, allocations: 27.44 kB / 434.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1234, allocations: 0 / 434.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.1537, allocations: 5.929 MB / 440.2 MB, free: 5.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.035, allocations: 18.23 kB / 440.2 MB, free: 5.324 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.54974578274414]