Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.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.001193/0.001193, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009409/0.0009409, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8586/0.8586, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.399e-05, allocations: 4.531 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001804/0.001818, allocations: 1.499 MB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.00315, allocations: 0.8381 MB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.003203, allocations: 0 / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.929e-05/0.003282, allocations: 7.875 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.003353, allocations: 19.84 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.003584, allocations: 55.83 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.003809, allocations: 143.7 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.003893, allocations: 8 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.004222, allocations: 419.2 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.004316, allocations: 63.8 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.004344, allocations: 12 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.004365, allocations: 8 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.004429, allocations: 71.72 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.004492, allocations: 55.73 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.004745, allocations: 354.9 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004747, allocations: 0 / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004748, allocations: 4 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004752, allocations: 0 / 328.1 MB, free: 12.39 MB / 298.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.0004784/0.005231, allocations: 0.6552 MB / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.005264, allocations: 8.031 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.0053, allocations: 50.69 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.005344, allocations: 40.69 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.005533, allocations: 220 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.005547, allocations: 4.375 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.005851, allocations: 8.375 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.006101, allocations: 241 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006109, allocations: 192 / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.006127, allocations: 12.12 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.006132, allocations: 0 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.006252, allocations: 182.7 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.006696, allocations: 403.7 kB / 329.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.006844, allocations: 197.2 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.00696, allocations: 183.6 kB / 330.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.006969, allocations: 4 kB / 330.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.007225, allocations: 333.1 kB / 330.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.007227, allocations: 3.984 kB / 330.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000566/0.007793, allocations: 0.6892 MB / 331.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.007853, allocations: 174.1 kB / 331.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.008232, allocations: 0.5168 MB / 332 MB, free: 8.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.008251, allocations: 41.64 kB / 332 MB, free: 8.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.008298, allocations: 97.12 kB / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.008324, allocations: 27.78 kB / 332.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.008393, allocations: 81.52 kB / 332.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.008467, allocations: 326.8 kB / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.00859, allocations: 174.8 kB / 332.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.008702, allocations: 192.5 kB / 332.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.008903, allocations: 363.2 kB / 333.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.008905, allocations: 0 / 333.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003583/0.009264, allocations: 0.503 MB / 333.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.009322, allocations: 122.8 kB / 333.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.009327, allocations: 112 / 333.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.00934, allocations: 3.938 kB / 333.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.651e-05/0.009357, allocations: 4 kB / 333.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.009362, allocations: 0 / 333.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.009447, allocations: 15.94 kB / 333.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.009486, allocations: 44 kB / 333.9 MB, free: 5.91 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.0002317/0.009718, allocations: 362.5 kB / 334.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.009746, allocations: 39.77 kB / 334.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.009815, allocations: 75.11 kB / 334.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009816, allocations: 128 / 334.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009821, allocations: 4 kB / 334.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.009824, allocations: 0 / 334.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.01047, allocations: 0.8895 MB / 335.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01048, allocations: 0 / 335.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-06/0.01048, allocations: 0 / 335.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01049, allocations: 0 / 335.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.0105, allocations: 15.98 kB / 335.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01051, allocations: 0 / 335.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01051, allocations: 0 / 335.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.01118, allocations: 0.6674 MB / 336 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.01141, allocations: 197.4 kB / 336.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.01144, allocations: 12 kB / 336.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01156, allocations: 15.92 kB / 336.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.01164, allocations: 23.98 kB / 336.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.01168, allocations: 47.92 kB / 336.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002947/0.01197, allocations: 386.9 kB / 336.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01197, allocations: 0 / 336.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01217, allocations: 55.81 kB / 336.7 MB, free: 2.949 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.000658/0.01282, allocations: 1.206 MB / 337.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.01325, allocations: 0.6124 MB / 338.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01326, allocations: 0 / 338.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.01349, allocations: 424.3 kB / 338.9 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.01388, allocations: 128.6 kB / 339.1 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.01639, allocations: 3.36 MB / 342.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.01657, allocations: 206.2 kB / 342.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.01661, allocations: 8.719 kB / 342.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01665, allocations: 32.48 kB / 342.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01665, allocations: 0 / 342.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.03403, allocations: 7.045 MB / 349.7 MB, free: 5.566 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.724, allocations: 7.625 kB / 349.7 MB, free: 5.562 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.35892162565142]