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.0009707/0.0009707, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0008574/0.0008574, allocations: 153.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 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 0.9106/0.9106, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 2.374e-06/2.374e-06, allocations: 4 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.929e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001921/0.00194, allocations: 1.475 MB / 319.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.003506, allocations: 0.7991 MB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.003567, allocations: 0 / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.003665, allocations: 11.86 kB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.003749, allocations: 19.88 kB / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.004026, allocations: 63.8 kB / 320.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.004211, allocations: 139.6 kB / 320.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.00433, allocations: 11.98 kB / 320.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.00473, allocations: 419.2 kB / 321.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.004835, allocations: 55.83 kB / 321.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.004865, allocations: 12 kB / 321.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.004885, allocations: 8 kB / 321.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.004959, allocations: 63.78 kB / 321.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.005025, allocations: 67.66 kB / 321.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.005303, allocations: 362.8 kB / 321.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005306, allocations: 4 kB / 321.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005307, allocations: 0 / 321.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.005312, allocations: 0 / 321.9 MB, free: 2.855 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005538/0.005866, allocations: 0.6467 MB / 322.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005905, allocations: 8.922 kB / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.005943, allocations: 50.72 kB / 322.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.005991, allocations: 36.7 kB / 322.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.006205, allocations: 220 kB / 322.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.006221, allocations: 8.312 kB / 322.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.006238, allocations: 12.38 kB / 322.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.00651, allocations: 245 kB / 323.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.006518, allocations: 192 / 323.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.006539, allocations: 12.11 kB / 323.1 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006545, allocations: 0 / 323.1 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.006685, allocations: 174.8 kB / 323.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.007265, allocations: 419.6 kB / 323.7 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.007452, allocations: 193.3 kB / 323.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.007586, allocations: 175.7 kB / 324.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.007602, allocations: 8 kB / 324.1 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003989/0.008001, allocations: 325.4 kB / 324.4 MB, free: 68 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.008004, allocations: 0 / 324.4 MB, free: 68 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007849/0.008789, allocations: 0.697 MB / 325.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.008862, allocations: 166.2 kB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.009294, allocations: 0.5091 MB / 325.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.009321, allocations: 37.69 kB / 325.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.009377, allocations: 101 kB / 325.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.009407, allocations: 23.84 kB / 325.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.009491, allocations: 81.52 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.009587, allocations: 330.8 kB / 326.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.009727, allocations: 174.8 kB / 326.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.00988, allocations: 195.9 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.01012, allocations: 363 kB / 327 MB, free: 13.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01012, allocations: 0 / 327 MB, free: 13.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000418/0.01054, allocations: 0.4991 MB / 327.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.683e-05/0.01061, allocations: 122.8 kB / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01061, allocations: 0 / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01062, allocations: 112 / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.01065, allocations: 11.88 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01065, allocations: 8.016 kB / 327.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.01075, allocations: 15.94 kB / 327.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.01079, allocations: 40 kB / 327.7 MB, free: 12.39 MB / 298.7 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.0002404/0.01103, allocations: 370.5 kB / 328.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.01107, allocations: 39.77 kB / 328.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.01115, allocations: 67.08 kB / 328.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01115, allocations: 0 / 328.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01116, allocations: 128 / 328.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01116, allocations: 4 kB / 328.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.0119, allocations: 0.8932 MB / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.0119, allocations: 0 / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-06/0.01191, allocations: 0 / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01191, allocations: 0 / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.01193, allocations: 19.98 kB / 329.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01193, allocations: 0 / 329.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.01194, allocations: 0 / 329.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.01244, allocations: 0.657 MB / 329.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.01269, allocations: 201.4 kB / 330 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.01273, allocations: 12 kB / 330 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.01282, allocations: 11.98 kB / 330 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.01291, allocations: 31.97 kB / 330 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.01295, allocations: 43.98 kB / 330.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003233/0.01327, allocations: 386.9 kB / 330.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01327, allocations: 0 / 330.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.01349, allocations: 55.83 kB / 330.5 MB, free: 9.414 MB / 298.7 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.0007319/0.01422, allocations: 1.21 MB / 331.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.01467, allocations: 0.612 MB / 332.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01467, allocations: 0 / 332.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.01488, allocations: 428.4 kB / 332.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.01527, allocations: 116.3 kB / 332.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.01862, allocations: 3.376 MB / 336.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.01879, allocations: 189.7 kB / 336.4 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.01884, allocations: 12.7 kB / 336.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.01889, allocations: 28.5 kB / 336.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01889, allocations: 0 / 336.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.03946, allocations: 7.052 MB / 343.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.944, allocations: 7.625 kB / 343.5 MB, free: 12.04 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.65625228267163]