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.001746/0.001746, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002321/0.002321, allocations: 215 kB / 24.47 MB, free: 3.777 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.373/1.373, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.002804/0.002804, allocations: 55.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2735, allocations: 49.16 MB / 396.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002522/0.276, allocations: 1.465 MB / 397.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2777, allocations: 0.8505 MB / 398.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.2778, allocations: 1.531 kB / 398.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.2779, allocations: 12.25 kB / 398.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.2779, allocations: 26.03 kB / 398.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.2782, allocations: 50.47 kB / 398.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2784, allocations: 139.7 kB / 398.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2785, allocations: 19.94 kB / 398.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/0.279, allocations: 401.3 kB / 399.3 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2791, allocations: 67.03 kB / 399.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.2791, allocations: 9.219 kB / 399.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.2792, allocations: 10.81 kB / 399.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.2792, allocations: 61.66 kB / 399.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.2793, allocations: 87.53 kB / 399.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.2797, allocations: 359.1 kB / 399.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2797, allocations: 1.938 kB / 399.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2797, allocations: 0 / 399.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.2797, allocations: 0 / 399.9 MB, free: 6.926 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.0006184/0.2803, allocations: 0.667 MB / 400.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2804, allocations: 13.17 kB / 400.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.2804, allocations: 42.11 kB / 400.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.2805, allocations: 38.36 kB / 400.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.2807, allocations: 213.7 kB / 400.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2807, allocations: 10.11 kB / 400.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2807, allocations: 11.28 kB / 400.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.2811, allocations: 246.2 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2811, allocations: 0 / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2811, allocations: 3.375 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2811, allocations: 1.594 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2813, allocations: 180.1 kB / 401.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.2819, allocations: 413.7 kB / 401.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.2821, allocations: 190.1 kB / 401.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2822, allocations: 179.4 kB / 402.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2822, allocations: 1.062 kB / 402.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.2826, allocations: 322.4 kB / 402.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2826, allocations: 1.375 kB / 402.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007567/0.2833, allocations: 0.6971 MB / 403.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2834, allocations: 175.1 kB / 403.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.284, allocations: 0.5208 MB / 403.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.284, allocations: 29.11 kB / 403.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.2841, allocations: 97.2 kB / 403.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2841, allocations: 31.98 kB / 403.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2842, allocations: 82.42 kB / 404 MB, free: 3.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.2843, allocations: 326.1 kB / 404.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2845, allocations: 174 kB / 404.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2847, allocations: 194.5 kB / 404.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.285, allocations: 351.1 kB / 405 MB, free: 2.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.285, allocations: 4 kB / 405 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005329/0.2855, allocations: 0.497 MB / 405.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.2856, allocations: 127.2 kB / 405.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2856, allocations: 0 / 405.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2856, allocations: 1.031 kB / 405.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.2856, allocations: 1.094 kB / 405.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2856, allocations: 1 kB / 405.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2857, allocations: 16.36 kB / 405.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.2858, allocations: 38.41 kB / 405.7 MB, free: 2.133 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.0003152/0.2861, allocations: 373.4 kB / 406.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.2862, allocations: 38.8 kB / 406.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.2863, allocations: 65.61 kB / 406.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2863, allocations: 0 / 406.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2863, allocations: 5.25 kB / 406.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2863, allocations: 0.75 kB / 406.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2874, allocations: 0.8824 MB / 407.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.2874, allocations: 1.656 kB / 407.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.2874, allocations: 0 / 407.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2874, allocations: 0 / 407.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.2874, allocations: 20.81 kB / 407.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2874, allocations: 0.6094 kB / 407.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2874, allocations: 3.938 kB / 407.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.2881, allocations: 0.6486 MB / 407.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.2885, allocations: 205.4 kB / 407.9 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.2886, allocations: 16.36 kB / 407.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2887, allocations: 10.88 kB / 408 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2888, allocations: 28.3 kB / 408 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.2889, allocations: 48.27 kB / 408 MB, free: 444 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004627/0.2894, allocations: 389.2 kB / 408.4 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2894, allocations: 0 / 408.4 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.2896, allocations: 45 kB / 408.5 MB, free: 228 kB / 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.001034/0.2907, allocations: 1.207 MB / 409.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006332/0.2913, allocations: 0.6048 MB / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2913, allocations: 0 / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.2917, allocations: 425.3 kB / 410.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.2924, allocations: 126.9 kB / 410.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.2965, allocations: 3.353 MB / 414.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2968, allocations: 196.8 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.2968, allocations: 9.875 kB / 414.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.2969, allocations: 27.06 kB / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2969, allocations: 0 / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.3315, allocations: 6.964 MB / 421.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.44, allocations: 1.281 kB / 421.4 MB, free: 7.711 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00239569 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.csv","/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] "Error: Could not read variable iNV3S.y in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv. Warning: Get data of variable iNV3S.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.862595268059522]