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.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.001854/0.001854, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002414/0.002414, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.488/1.488, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.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.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.00198/0.00198, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 49.16 MB / 396.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002732/0.2849, allocations: 1.536 MB / 397.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2868, allocations: 0.9061 MB / 398.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.2868, allocations: 1.062 kB / 398.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2869, allocations: 8.172 kB / 398.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.287, allocations: 18.22 kB / 398.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.2873, allocations: 62.27 kB / 398.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.2875, allocations: 137.3 kB / 399 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2876, allocations: 15.62 kB / 399 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.2882, allocations: 396.3 kB / 399.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.2884, allocations: 66.98 kB / 399.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.2884, allocations: 9.312 kB / 399.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.2885, allocations: 9.531 kB / 399.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2886, allocations: 66.72 kB / 399.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2887, allocations: 115.6 kB / 399.7 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.2892, allocations: 362.6 kB / 400 MB, free: 6.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2892, allocations: 5.375 kB / 400 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2892, allocations: 0 / 400 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2892, allocations: 0 / 400 MB, free: 6.891 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.0006902/0.2899, allocations: 0.6546 MB / 400.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2899, allocations: 14.77 kB / 400.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.2899, allocations: 40.59 kB / 400.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.29, allocations: 38.89 kB / 400.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2903, allocations: 217.1 kB / 401 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2903, allocations: 5.219 kB / 401 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.2903, allocations: 7.031 kB / 401 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2906, allocations: 132.2 kB / 401.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2906, allocations: 3.938 kB / 401.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2906, allocations: 8.156 kB / 401.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2906, allocations: 1.438 kB / 401.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2908, allocations: 60.38 kB / 401.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.2914, allocations: 426.2 kB / 401.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2916, allocations: 79.75 kB / 401.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2917, allocations: 64.91 kB / 401.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2917, allocations: 1.312 kB / 401.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.2921, allocations: 197.8 kB / 401.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.2921, allocations: 0 / 401.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008163/0.2929, allocations: 463.5 kB / 402.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.293, allocations: 171.7 kB / 402.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.2936, allocations: 0.523 MB / 403.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2937, allocations: 29.77 kB / 403.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.2937, allocations: 98.75 kB / 403.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.2938, allocations: 32.95 kB / 403.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2939, allocations: 77.88 kB / 403.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.2939, allocations: 324.6 kB / 403.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.294, allocations: 59.39 kB / 403.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2942, allocations: 73.06 kB / 403.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.2944, allocations: 342.5 kB / 404.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2944, allocations: 0.9062 kB / 404.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005253/0.295, allocations: 375 kB / 404.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/0.295, allocations: 123.7 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.295, allocations: 1.188 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2951, allocations: 1.25 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.2951, allocations: 5.188 kB / 404.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2951, allocations: 5.297 kB / 404.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.2952, allocations: 18.3 kB / 404.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.2953, allocations: 39.64 kB / 404.7 MB, free: 3.441 MB / 318.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.0003505/0.2957, allocations: 365.5 kB / 405 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.2957, allocations: 39.58 kB / 405.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.2958, allocations: 69.19 kB / 405.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2958, allocations: 0 / 405.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2958, allocations: 1.031 kB / 405.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2959, allocations: 5.438 kB / 405.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.2968, allocations: 0.7863 MB / 405.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2968, allocations: 0.5625 kB / 405.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.2968, allocations: 1.156 kB / 405.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2968, allocations: 3.984 kB / 405.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.2969, allocations: 16.98 kB / 405.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2969, allocations: 0 / 405.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2969, allocations: 4.938 kB / 405.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.2975, allocations: 0.5244 MB / 406.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.2979, allocations: 205.1 kB / 406.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.298, allocations: 10.84 kB / 406.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2981, allocations: 11.33 kB / 406.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2982, allocations: 37.08 kB / 406.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.2983, allocations: 43.44 kB / 406.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000458/0.2987, allocations: 388.5 kB / 407.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2987, allocations: 0 / 407.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003/0.299, allocations: 45.25 kB / 407.2 MB, free: 1.809 MB / 318.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.0007682/0.2998, allocations: 1.083 MB / 408.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.3003, allocations: 376 kB / 408.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3003, allocations: 0 / 408.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3005, allocations: 300.3 kB / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.3011, allocations: 128.9 kB / 409.1 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.3053, allocations: 2.745 MB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.3059, allocations: 0.8036 MB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.873e-05/0.306, allocations: 10.33 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3061, allocations: 26.61 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3061, allocations: 4 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.3502, allocations: 6.1 MB / 418.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.79, allocations: 1.375 kB / 418.8 MB, free: 10.65 MB / 334.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.240691552171484]